Note that this isn\'t a problem I face, I\'m more interested in what is going on here, because this just doesn\'t make (much) sense to me.
Where is the info shown be
Where is the info shown below set?
Actually, I think the answer was staring right at you all along... I'm fairly certain that all this info really is coming from my contact card, and is stored and used by Xcode independently of the version control system. In fact, I mentioned in an earlier tweet (which you replied to) that I'd used my contact card. I probably should have pointed out that, initially, the commit author name in use was my local username and there was no photo.
Clicking on the photo reveals a popover with a number of fields I can fill in about myself, like first name, last name, and some contact information. There's a Choose Card... button, which I used to attach my card.
So it does seem like Xcode attaches my contact card to my commit info, but it turns out that Xcode uses it for its own display purposes rather than tying it to my Git author info. Plus, as mentioned in the comments, I can't find the info in any of my Git config files, and furthermore I don't use GitHub yet (cue recommendations, links and testimonials as to its awesomeness).
Oh and I just checked... changing one of the fields in my contact card causes the change to be reflected in Xcode, and vice versa.
See the Set your user name, email and GitHub token page on the GitHub support site:
git config --global user.name "Firstname Lastname"
git config --global user.email "your_email@youremail.com"
git config --global github.user username
git config --global github.token 0123456789yourf0123456789token
Maybe you could make sure these keys are set not in your project .git/config
file but in your global .gitconfig
file.