30

There is a new branch in the remote repository, but it does not appear in the git branches in android studio. How can I refresh that list to show the new branch?

I have tried git branch -r but new branch is not showing in the list.

Pranav Karnik
  • 3,836
  • 2
  • 31
  • 45
Firzan Shaikh
  • 467
  • 1
  • 5
  • 11

3 Answers3

98

In your Android Studio menu bar, click on VCS > Git > Fetch

Check the image:

Git Fetch in Android Studio

Pranav Karnik
  • 3,836
  • 2
  • 31
  • 45
7

You can try using VCS (from menu) then click on Git and then on Fetch. Alternatively, you can use git fetch --all

2

Try using git fetch or use git fetch --all

Valentin Baryshev
  • 2,155
  • 3
  • 12
  • 23