- Attempting to repair submodules.
- Putting .gitmodules back where it belongs only after realising .gitmodules can only be in project root.