I have cloned a remote Git repository to my laptop, then I wanted to add a tag so I ran
git tag mytag master
When I run git tag
git tag
I am using git push tag to ensure that I am pushing a tag. I use it like: git push origin tag v1.0.1. This pattern is based upon the documentation (man git-push):
git push tag
git push origin tag v1.0.1
man git-push
OPTIONS ... ... ... tag means the same as refs/tags/:refs/tags/.