Git command for listing references. More information: https://git-scm.com/docs/git-show-ref.
git show-ref
git show-ref --branches
git show-ref --tags
git show-ref --verify {{path/to/ref}}