git tag a branch code example
Example 1: git create tag and push
git tag -a v1.4 -m "my version 1.4"
Example 2: git tag a previous commit
git tag -a v1.2 9fceb02 -m "Message here"
git tag -a v1.4 -m "my version 1.4"
git tag -a v1.2 9fceb02 -m "Message here"