I never expect renaming a git repo, which, more specifically, is the top-level folder holds the project, would be so hard. Yes, the project containing some submodules, but it is
You also need to check each sub-module's gitdir.
gitdir
It should be in sub-module's folder .git file.
.git