Microsoft Launches The New Git Experience In Visual Studio

The new Git tooling is now the default source control experience in VS 2019.

Recently, Microsoft announced that its new Git tooling is now the default source control experience in VS 2019. Git Experience in Visual Studio is focused on improving discoverability for your common workflows and simplifying navigation to reduce context-switching.

This new experience includes Redesigned Git repository creation, Accessible top-level Git menu, View files in Solution Explorer, Streamlined inner loop Git Changes window, Full-screen Git Repository window, Enhanced conflict resolution experience, and more.

Now, the Create a Git repository dialog includes the new integrated GitHub sign-in flow. This is similar to what the company offers for Microsoft accounts. From here, users can set the repository to be publicly visible or switch it to private. It is securely accessible to only you and any designated collaborators. 

Source: Microsft

Apart from GitHub, users can also push their code to an existing remote repository. This can be one you’ve already created on Azure DevOps or any other provider. In case if you are not ready to push to a remote host, you can choose to create a local-only Git repository as well.

Source: Microsoft

User will now be able to access their favorite Git features using the top level Git menu. This menu also has the Local Repositories submenu. So, by expanding it, users can easily switch between local Git repositories they have previously opened in Visual Studio.

Source: Microsoft

Now, as you have open or clon a Git repository, Visual Studio helps you get straight to your code. Solution Explorer loads the root of the repository and scans the directory for any View files. Visual Studio detects and loads the solution automatically. 

The new Git Changes window provides you quick access to commonly used Git operations that you often need while you are coding. It allows you to create new branches, stash, stage, amend, and commit changes, all from the same place without switching pages or losing context. 

Source: Microsoft

For additional details, you can visit the official announcement here.