Git and VSTS

VSTS | TFS 2018 | TFS 2017 | TFS 2015 | VS 2017 | VS 2015

Host and manage your code in Git version control with VSTS and Team Foundation Server. Use version control to save your work and coordinate code changes across your team. Even if you're just a single developer, version control helps you stay organized as you fix bugs and develop new features. Version control keeps a history of your development so that you can review and even rollback to any version of your code with ease.

New to Git? Learn more about how Git and VSTS can help your team ship great code, and learn how we use Git at Microsoft.

Get started

Use your favorite IDE with VSTS and Git

Connect your favorite development environment to VSTS to access your repos and manage your work. VSTS IDE integrations are available for Visual Studio, Visual Studio Code, Eclipse, and IntelliJ.

New to Git? Learn how to share code with Git and VSTS with the following getting started guides:

Git tutorial

Get up and running with Git and VSTS in just a few minutes with the VSTS Git quick start.

The VSTS Git tutorial walks you through Git tasks like creating repos, working in branches, saving your work, and sharing your changes. Every task is presented step-by-step in Visual Studio or from the command line.

VSTS Git tutorial workflow

Authenticate with your repos

Connect to VSTS from anywhere

You can authenticate with your VSTS Git repo from any platform using cross-platform credential managers or SSH public key authentication.

If you have code ready to share in VSTS, our getting started guides take you through the steps to connect your development environment to a VSTS Git repo and share your code with your team.

Manage your repos

Manage your repos and customize your team's workflow. Set up permissions to control access to your code and set up branch policies and continuous integration to prevent build breaks and catch bugs sooner.

Manage your code and repos from the web

Review code