anotetate tag git 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 find out commit for tag
$ git rev-list -n 1 $TAG
git tag -a version.number -m "Tag Message"
git push origin <tagname>
$ git rev-list -n 1 $TAG