Git · Junior · Question 65 of 75

Why should you pull or fetch before starting work on a shared branch?

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.

Further reading

Problem with a question

Git · Junior · question 65

Test yourself

Take the Git · Junior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz