Problem Statement
Differentiate lightweight and annotated tags. When would you prefer each?
Explanation
Lightweight tags are simple pointers to a commit. Annotated tags (`git tag -a`) store metadata (tagger, date, message, GPG sig). Use annotated tags for releases; lightweight tags for local/bookmark usage.
Practice Sets
This question appears in the following practice sets:
