Git · Junior · Question 65 of 75
Why should you pull or fetch before starting work on a shared branch?
- 1Because Git forbids committing without a recent fetch
- ✓Correct answer: To build on the latest commits and avoid needless conflicts
- 3To lock the branch so others can't push meanwhile
Explanation
Git doesn't lock anything; working from an old base just means more integration work later. Short-lived branches from a fresh main keep conflicts small.