Add support for git submodules.