Recursively handle git submodules.