Q:

List git branches from a single remote

Is it possible to list remote git branches from a single remote? The following list branches from all the configured remotes:
git branch -r

A:

use git remote show <remote-name> it will list all branches existed in that remote
Example:
git remote show origin or git remote show https://github.com/test/test-repo.git
reference : view docs

