About a week ago Git support was added to Visual Studio 2012 and Team Foundation Service. I\'ve been playing around with it a bit and wanted to publish a local repository to
In the Team Explorer window find your repository under Local Git Repositories. Right click on the one you want to change and pick Open Command Prompt.
Now type git remote -v
and it should show you the remote name and the complete url for it.
type git remote remove origin
assuming origin is the name of your remote repository. Then git remote add origin [url]
replacing [url] with the actual url of your repository.
Now you should be able to push your master branch into the repository for your team project.