how tags can be used in git code example
Example 1: git add tag
git tag -a v1.2
git push origin v1.2
Example 2: git find out commit for tag
$ git rev-list -n 1 $TAG
git tag -a v1.2
git push origin v1.2
$ git rev-list -n 1 $TAG