git-tfs is a two-way bridge between TFS and git, similar to git-svn.
Cloning a repository
git tfs clone http://tfs:8080/tfs/DefaultCollection $/some_project (wait for git-tfs to pull your history)
git tfs quick-clone http://tfs:8080/tfs/DefaultCollection $/some_project
cd some_project and hack away, using only git, until you need to share with TFS...)
Pushing your changes to TFS
git tfs checkintool
git tfs checkin -m "Did stuff"
git tfs shelve A_SHELVESET_NAME
git tfs help
Download or build.
Add the directory that contains git-tfs.exe to your path.
I've been using this with msysgit 188.8.131.52 for a while.
You need .NET 4 and either the 2008 or 2010 version of Team Explorer installed.
msbuild (included in .NET 4) should be able to build the entire solution.
You can also do
If you contribute patches, please set
git config core.autocrlf true)
Contributions are always welcome. For more information about contributing, please see the wiki.