Annotated vs lightweight tag?

IntermediateConceptGit
Answer

An annotated tag is a full object with tagger, date and message, and it can be signed; use it for releases. A lightweight tag is just a named pointer to a commit.

git tag -a v1.2.0 -m "Release 1.2.0"
All Real-World Interview questions Roadmap: Interview readiness

More on Git