git tag a previous commit

Shell
git tag -a v1.2 
git push origin v1.2git tag -a v1.2 9fceb02 -m "Message here"
Source

Also in Shell: