git child repo code example Example 1: git clone submodule git clone --recurse-submodules Example 2: git remanme folder git mv <old name> <new name>