create a tag in git command line code example Example: how to create tag in git git tag -a v1.4 -m "my version 1.4"