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