Make sure git works for submodules.