git set all submodules to master code example Example: git clone submodule git clone --recurse-submodules