so the git tag command lists the current git tags
git tag
tag1 tag2
git tag -n prints tag\'s message
git tag -n
tag1
git for-each-ref --format='%(if)%(*objectname)%(then)%(*objectname)%(else)%(objectname)%(end) %(refname)' refs/tags
This gives a list of all commits for tags. Annotated tags are dereferenced. Send thanks here.