git | visual-studio | ide

Git branch not showing in Visual Studio Team Explorer

If you are having trouble to see the newly created (remote) git branches in the Visual Studio Team Explorer, try the workaround provided in this article.

Abhith Rajan
Abhith RajanOctober 11, 2017 · 2 min read · Last Updated:

In our company, all the projects source code is under source control, which is Visual Studio Online (VSO). And most of them are using GIT as the version control (VSO supports Git as well as TFS).

Last year I initiated to follow Git Flow method as the branching model for the new projects and it’s going well. Colleagues are getting used to it.

Recently when I created a feature branch in the VSO online interface, I checked the Visual Studio manage branches window in the Team Explorer to checkout the new branch but couldn’t find it there under Remote Branch. The refresh button on the top of Team Explorer had no effect on the branches.

Workaround

Until visual studio provides a better solution, you can use the SYNC option in the Team Explorer, which will also fetch the new branch list.

Useful

If you want to know more about Git Flow, read this post.

Abhith Rajan

Written by Abhith Rajan
Abhith Rajan is an aspiring software engineer with more than nine years of experience and has a proven successful track record of delivering technology-based products and services.
Connect

This page is open source. Noticed a typo? Or something unclear?
Improve this page on GitHub

Related ArticlesView All

Related VideosView All

Speed up your .NET app with the .NET memory profilers in Visual Studio 2022

Supercharge refactoring with IntelliCode in Visual Studio 2022

New debugger features in Visual Studio 2022

Related StoriesView All

Related Tools & ServicesView All

vscode.dev

Visual Studio Code for the Web

Build with Visual Studio Code, anywhere, anytime, entirely in your browser.
toptal.com

gitignore.io

Create useful .gitignore files for your project by selecting from 509 Operating System, IDE, and Programming Language .gitignore templates