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