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 · 1 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.

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


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?

Related SnippetsView All

Related ArticlesView All

Related VideosView All

Writing Unit Tests with IntelliTest

Microsoft FINALLY killed it

Visual Studio 2022 17.7 Preview 1

Related Tools & ServicesView All

rtyley.github.io

BFG Repo-Cleaner by rtyley

A simpler, faster alternative to git-filter-branch for deleting big files and removing passwords from Git history.
vscode.dev

Visual Studio Code for the Web

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