how to separate git repo to submoduless code example Example: git clone submodule git clone --recurse-submodules