should you cd into directory git submodule --init code example Example: git clone submodule git clone --recurse-submodules