GitHub (version for Windows no longer shows me all the remote branches. This is working with a GitHub for Enterprise server.

For example, when I click on the branches drop down, it used to show me all the remote branches in origin, but now only shows me branches I’ve checked out locally.

Is this a bug or is there some setting adjustment I need to make?


Hit F5 on your keyboard.

You won't see anything, but it should fetch your remote branches.

  • 3
    I wonder why they don't add it to the GUI. But it works perfectly, thanks. – ChrisB Sep 14 '16 at 8:28
  • I wonder how you discovered it tho hahaha – user2773086 Feb 6 '17 at 10:18
  • F5 refreshes your browser, so I tried it ;-) – Jack Feb 7 '17 at 5:55
  • Since this works within the desktop app without having to go over to Git Shell, I think this is the best answer since OP was asking specifically about the desktop app. – Nicholas Cardot May 30 '17 at 15:17
  • @Jack mind explaining how you figure this out? Thanks anyways! – Odys Sep 27 '17 at 9:59

You could try:

git fetch

Run this from within the directory that contains your local repository. Fetching from a repository grabs all the new remote-tracking branches and tags without merging those changes into your own branches.

This is a command that you can make via the command prompt in a command window. To use it you need to install a git CLI (Command Line Interface) - which lets you issue manual git commands.

  • Exactly what was needed, good answer. – Kickaha Mar 24 '16 at 23:53
  • 2
    Any ideas why there isn't a GUI way to do this? – fratrik Aug 9 '16 at 19:21

git fetch doesn't always to the trick it seems. If you know the name of the branch you could just simply git checkout <branch-name>. If you enter the name correctly you'll be switched to that branch.

protected by Community Jul 6 '17 at 21:19

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.