What are Git tags and when to use them?
bash
# Create annotated tag
git tag -a v1.0.0 -m "Release 1.0.0"
# List tags
git tag
# Push tags
git push origin v1.0.0
git push --tags
# Checkout tag
git checkout v1.0.0Short Answer
Interview readyPremium
A concise answer to help you respond confidently on this topic during an interview.