Write and commit your code
With your code project stored in a local Git repository, you can commit as early and as often as you like. (Still no Internet access needed.)
As you write your code, your changes are automatically tracked by Visual Studio. To see what you've changed, compare your changes with the last commit.
You can commit your changes to your local repository from either Solution Explorer or from Team Explorer.
Add a comment and then commit your changes.
Tip: You can associate a work item with your commit by specifying its id in the comment. For example, these changes will be linked to work item 123.
Try this next
Or, dig deeper
Sign up now