I have created a new project and checked the \"create a local git repository\" option. I opened the organizer to check that there is a repository for my project and it was there
I've experienced and recovered from this.
I can't tell you what causes it but, notably, in the "Repositories" view in my Organiser, I had TWO similarly-named repositories. What differed about them was the case of one of the paths.
One was "~/Work/Code/Bumhole" and the other "~/work/Code/Bumhole".
I caused the problem by XCode crashing during a commit to the repository (of many changes).
I fixed the problem by
I expect this list is a superset of the steps needed to fix the problem, but this worked for me.