I can list all local branches by
git branch
How to list a git repository’s all branches on the remote server?
You need the -r
option:
git branch -r
From the man page of git-branch.
-r
List or delete (if used with -d) the remote-tracking branches.