git branch -r

List remote branches

This command lists all branches from remote repositories.

It achieves its goal by querying the remote repositories configured in your local git setup and displaying the branch names.

Variations include git branch -a, which lists both local and remote branches, and git branch -vv, which shows local branches and their tracking information.

Sign in to enable bookmarking, reminders, progress-tracking and more...