Refresh remote Git branches in Android studio

Firzan Shaikh picture Firzan Shaikh · Nov 18, 2017 · Viewed 15.2k times · Source

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.

Answer

Pranav Karnik picture Pranav Karnik · Nov 18, 2017

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

Check the image:

Git Fetch in Android Studio