recurse submodules in git clone code example Example: git clone --recurse-submodules git clone --recurse-submodules git://github.com/foo/bar.git