Skip to main content

This browser is no longer supported.

Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.

Download Microsoft Edge More info
Read in English
Read in English Edit
Twitter LinkedIn Facebook Email

Visual Studio version control docs

Share your code from within Visual Studio by using source control technologies such as Git and GitHub.

Get started

Overview

  • Git & Visual Studio for source control

How-To Guide

  • Clone an existing repo
  • Create a new repo

Innerloop dev workflow

How-To Guide

  • Create a new branch
  • Make a commit
  • Stage lines of code
  • Push to remote
  • Fetch, pull, and sync

Repo management

How-To Guide

  • Browse repos & compare branches
  • Manage repos
  • Resolve merge conflicts
  • Git settings & preferences

Reference

Reference

  • Compare Git & Team Explorer
  • Become a master at Git & open source (blog)

Resources

What's new

  • Performance Enhancement - Git branch switching (blog)
  • Supercharge your Git experience (blog)
  • Release notes
  • Videos and more...
  • Previous Version Docs
  • Blog
  • Contribute
  • Privacy & Cookies
  • Terms of Use
  • Trademarks
  • © Microsoft 2022
  • Previous Version Docs
  • Blog
  • Contribute
  • Privacy & Cookies
  • Terms of Use
  • Trademarks
  • © Microsoft 2022