git version number tag 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
Example 3: git create tag and push
git tag <tagname>