git checkout submodule from master code example Example: git clone submodule git clone --recurse-submodules