Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Add a git fetch exercise? #420
Every time I teach this, participants ask how they can check to see whether origin has been updated before they try to git push so as to know in advance whether they're going to have to merge anything, or more generally just to compare their latest committed version with origin.
Is it worth adding a small exercise showing git fetch, and then how to compare master with origin/master?
I agree. I also think it would be worth clarifying that