create annotated tag git code example Example 1: git create tag and push git tag -a v1.4 -m "my version 1.4" Example 2: git create tag and push git tag <tagname>