git create new tag with current change code example
Example 1: git add tag
git tag -a v1.2
git push origin v1.2
Example 2: git tag a previous commit
git tag -a v1.2 9fceb02 -m "Message here"
git tag -a v1.2
git push origin v1.2
git tag -a v1.2 9fceb02 -m "Message here"