up tag git from branch code example
Example 1: git tag a previous commit
git tag -a v1.2 9fceb02 -m "Message here"
Example 2: git create tag and push
git tag <tagname>
git tag -a v1.2 9fceb02 -m "Message here"
git tag <tagname>