I have seen the commands git describe and git-name-rev but I have not managed to get them to list more than one tag.
git describe
git-name-rev
Example: I have the sh
git show-ref --tags -d | grep ^48eb354 | sed -e 's,.* refs/tags/,,' -e 's/\^{}//'
should work for both lightweight and annotated tags.