Show some information about remote:
$ git remote show <remote-name>
$ git remote show remote1

List SHA-1 hash and branches:
$ git ls-remote --heads <remote-name>
$ git ls-remote --heads remote2

Leave a Reply