get rid of the .gitmodules
Ignore the cloned repositories.
Clone and/or fetch modules instead of having submodules.