You can always count on somebody to have figured things out before you.. Chrisopher Roach’s blog has a nice quick setup guide to get your xcode project in a git repo (gitignores, attributes and basic git push capability).
Whenever I setup a new Xcode project, the first thing I do is initialize it as a Git repository and add some configuration to the project that will make using Git with Xcode a bit less messy.
[From christopherroach.com ]
And of course debate has already started on the merits of treating certain things as binary to avoid merging nightmares. <sarcasm>Don’t you love XML syntaxes?</sarcasm>