Git · Senior · Question 37 of 76
What does Git protocol v2 improve?
- 1It encrypts every object with a key for each user
- ✓Correct answer: Clients ask only for the refs they need, not all
- 3It replaces SSH with plain HTTP for every operation
Explanation
Version 0 advertised every ref up front, which is slow for repositories with many branches and PR refs. v2 also makes adding capabilities easier.