Dijeli putem


How Visual Studio makes version control easy with Git

Applies to: yesVisual Studio noVisual Studio for Mac

Note

This article applies to Visual Studio 2017. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here

Have you ever wished you could go back to a previously working version of your code? Do you find yourself manually storing copies of your code in different locations as a backup? Well, version control is the answer.

Git is the most widely used modern version control system. With Git, you can track the code changes you make over time and you can revert to specific versions. So whether you're a professional developer or if you’re learning how to code, Visual Studio's Git experience can be very useful to you.

Tip

To learn about using Git and GitHub in Visual Studio, sign up for the Git learning series.