git make a tag in a commit code example Example: git tag from commit $ git tag <tag_name> HEAD (for the last commit)