I have been using Xcode to develop and publish apps for almost a year. I have been using git as the local repository and bitbucket as the remote repository. Everything has b
I was getting this also. at first I could restart the mac and everything was working fine. Eventually though the problem came back with a vengeance even with a restart it would not let me commit so I had to do the command line loving. one caveat being that you have to type xcrun before any git commands in terminal when using vanilla git installed with Xcode.
so type:
xcrun git config --global user.email your@email.com
xcrun git config --global user.name "your name"
after doing this everything was fine and dandy.