As with most things in Git, there are multiple ways to list branches. You don’t want to waste any time browsing GitHub or GitLab for sure, hence running Git commands from the CLI is the preferred, most efficient and fastest way to get work done.
List local branches only:
List remote branches only:
git branch -r git ls-remote --heads git show-branch -r
To list all branches local and remote, run:
git branch -a