how to checkout git submodule code example Example: git clone submodule git clone --recurse-submodules