Listing branches is basic
$ git branch
Listing branches that have been merged
$ git branch --merged
Listing branches that have been merged on your remote:
$ git branch -r --merged
Hence listing all branches on the remote:
$ git branch -r
Listing branches is basic
$ git branch
Listing branches that have been merged
$ git branch --merged
Listing branches that have been merged on your remote:
$ git branch -r --merged
Hence listing all branches on the remote:
$ git branch -r