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 byAbhith Rajan
Abhith Rajan is a software engineer by day and a full-stack developer by night. He's coding for almost a decade now. He codes 🧑‍💻, write ✍️, learn 📖 and advocate 👍.
Connect

Is this page helpful?

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

Related SnippetsView All

Related ArticlesView All

Related VideosView All

What’s new in Visual Studio 2022 for testing

Optimizing msbuild (C#/.NET/C++) build performance with Visual Studio 2022

Welcome to Visual Studio 2022 – by Scott Hanselman and friends

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