I tried the proposed solution. But when I do to Xcode/settings and choose Git, my user name and email address are already there. So this solution does not work for me. I even tried removing my user name and email address and then putting them back in. Still does not work.
Any other suggestions?