Is there any way to use a git repository with the built in SCM functions of Xcode?
NOTE: despite all the up-votes, this answer is out of date as of June 2010
There's no git support within Xcode, but that's no reason not to use git for your Xcode projects. I've had good results managing my Xcode projects using the standard git command line or GitX.
Shane Vitarana has a nice set of .gitignore
settings to use as a starting point.
With Xcode 4 if you want to use your own version of Git you can create a symlink from /usr/bin/git to wherever you have installed your Git binary
Xcode doesn't have a public plug-in API, so no, there's no way to directly add support for git to Xcode.
You can, however, create scripts for Xcode's script menu that can perform various git operations.
I don't believe there's a way to provide plug-in support for Xcode. So, until Apple warms up to git, we'll be stuck with 3rd party tools and the command line. Not that that's a bad thing...
Well, there is this thing called git-cvsserver that lets git pretend it's CVS. But I don't know the state of affairs concerning that, or CVS support in Xcode.
With the latest Xcode 4.1 it's definitely possible and everything you need is installed by default.
I wrote a blog post just about this very topic:
Xcode iPhone beginner projects with GitHub integration