Git · Middle · Question 26 of 75
Why sign commits or tags with GPG or SSH keys?
- ✓Correct answer: To prove they were really made by the stated author
- 2To make commits impossible to revert later
- 3To encrypt the commit content from other users
Explanation
Anyone can set user.email to anything. Signatures let platforms show "Verified" and let protected branches require signed commits.