git how to add a tag on a commit code example
Example 1: git add tag
git tag -a v1.2
git push origin v1.2
Example 2: how to push tag for a commit
git tag "tag_name" "commit_hash" # fill tag_name and commit_hash
git push --tags # to push created tag