git repository create sub repository code example Example: git clone submodule git clone --recurse-submodules