Microsoft themselves put this wrapper out, want to know more about why? http://blogs.msdn.com/b/bharry/archive/2013/01/30/git-init-vs.aspx My guess is that GIT is catching on so this is a nice way to keep TFS relevant. For whatever the reason is it does get us GIT users a nice wrapper to keep us happily isolated.
The git-tf project home can be found here: http://gittf.codeplex.com/
Additionally, the official download page can be found here: http://www.microsoft.com/en-us/download/details.aspx?id=30474
While the instructions are good, I did have a few troubles with Ubuntu 12.10 getting connected (namely proxy stuff). So this is really just to help me remember how I got through them.
First I decompress the download and add the path to that binary to my PATH environment variable. To do this permanently, I simply add the following to my ~/.profile:
export PATH=$PATH:$HOME/Applications/git-tf/current
Now from a terminal I can easily clone a repository with clone:
$ git tf --deep clone http://tfs.mycompany.com/tfs/MyStuff $/MyProject
Now, if you don't want to be prompted for credentials every time you run git-tf, you can store your credentials in your GIT configuration. It is important to realize that this will be stored as plain text (~./gitconfig), so the password might not be such a good idea.
$ git config --global git-tf.server.username your-username
$ git config --global git-tf.server.password your-password
export http_proxy=
export ftp_proxy=
export FTP_PROXY=
export ALL_PROXY=
export all_proxy=
export https_proxy=
export HTTPS_PROXY=
export HTTP_PROXY=