Managing a repository through Visual Studio
If you’re familiar with development, you’ll have likely already used tools such as GitKraken or Sourcetree, among others. For now, all our daily usage of Git and repository management can be handled entirely within Visual Studio. In this section, we’ll explore how we can leverage Visual Studio to manage our repositories without having to exit our favorite IDE.
Exploring the Manage Branches window
Visual Studio 2022 introduced a window named Manage Branches. To open it, we have several options. The first option is using the top Git | Manage Branches menu option:
Figure 9.1 – Manage Branches top-bar menu option
The second option is going to Git Changes windows, then using the three dots in the top-right corner of the window and selecting Manage Branches:
Figure 9.2 – Manage Branches Git Changes menu
Furthermore, in the Git Changes window, if...