git show-ref

Git command for listing references. More information: https://git-scm.com/docs/git-show-ref.

git show-ref

git show-ref --heads

git show-ref --tags

git show-ref --verify {{path/to/ref}}