which command creates a lightweight tag code example Example: git add tag git tag -a v1.2 git push origin v1.2