tagging commits code example
Example 1: create a tag from a commit/branch
git tag -a version.number -m "Tag Message"
git push origin
Example 2: git tag from commit
$ git tag HEAD (for the last commit)
git tag -a version.number -m "Tag Message"
git push origin
$ git tag HEAD (for the last commit)