git tag add command code example
Example 1: git create tag and push
git tag -a v1.4 -m "my version 1.4"
Example 2: create a tag from a commit/branch
git tag -a version.number -m "Tag Message"
git push origin
Example 3: git tag a previous commit
git tag -a v1.2 9fceb02 -m "Message here"