git tag command line 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>