Adds support for git submodules during clone.