git tag --light code example
Example 1: create a tag from a commit/branch
git tag -a version.number -m "Tag Message"
git push origin <tagname>
Example 2: git see tags
$ git tag -l -n2
Example 3: git find out commit for tag
$ git rev-list -n 1 $TAG