Creating a git repository for an existing Xcode project. Ash:
New Xcode projects will let you keep local git source control. Using an existing project with this local source control is … difficult. I tried for a while before almost giving up. Documentation around the “Add Working Copy” is almost non-existent. This is how you do it.
$git add .
$git commit -m "Initial commit of project"
.gitignore file. Here's a good one for Xcode projects.