I had cloned a repository to PatchBasedInpaintingDevelop. I've been working in there for a while with no problems. Then I decided to rename the folder locally. I did 'mv PatchBasedInpaintingDevelop PatchBasedInpainting' and now git status complains about submodules, saying:
doriad@daviddesktop:/media/portable/Projects/PatchBasedInpainting$ git status
fatal: Not a git repository: /media/portable/Projects/PatchBasedInpaintingDevelop/.git/modules/ITKQtHelpers
Is there a way to do this move without breaking the submodule structure?