annotated tag in git code example Example 1: git see tags $ git tag -l -n2 Example 2: git find out commit for tag $ git rev-list -n 1 $TAG