Getting started with Git and TFS

So you’ve heard your friends talk about Git and you want to give it a try!

This year, Microsoft added Git integration with TFS Service.  This allows you to create a team project and use Git instead of Team Foundation Version Control.  You can only do this on hosted TFS (, so if you don’t have an account there yet, go ahead and create one, it’s free to sign up and you can have a team of up to 5 people collaborating with you for free.

Once you have your account created, you can log in and you’ll get to your homepage:


Click on the big red button that reads “New Team Project + Git”.  You’ll get prompted for your Team Project Name, a description, Process Template, and the type of Version Control that you want to use (you can pick from Team Foundation Version Control and Git):

Click on “Create Project” and about 30 seconds later, you are ready to go:

Clicking on Navigate to Project takes me to a very familiar sight: my Team Project homepage:

To connect to your new team project from Visual Studio, you will need to install Visual Studio Tools for Git: the requirements:
Visual Studio 2012
Visual Studio 2012 Update 2 CTP

Before you can start coding, you will need to clone your repository down to your computer either by running this clone command: 
git clone

Or by following the Clone prompts from Visual Studio Tools from Git.  Now you can start publishing to your local repo and push changes up to the server as needed.

One thought on “Getting started with Git and TFS

  1. Pingback: Friday Five - April 12, 2012 - The Microsoft MVP Award Program Blog - Site Home - MSDN Blogs

Leave a Reply

Your email address will not be published. Required fields are marked *

+ 1 = two

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>