Fetch vs Pull Quiz
Multiple Choice Medium
Question
How does `git fetch` differ from `git pull`?
Hint
pull = fetch + merge.
Explanation
git fetch downloads remote commits and updates remote-tracking branches but does NOT modify your working files. git pull is git fetch followed by git merge — it both downloads and integrates the changes. Use fetch when you want to see what changed before merging.
Related Resources
Related Lessons
Related Cheatsheets
Look up unfamiliar terms
A beginner-friendly glossary explains jargon in plain English — variables, functions, DOM, Promise, and more.
Decode error messages
Plain-English explanations of common errors — what they mean, why they happen, and how to fix them.
Build real projects
Apply what you learned by building guided projects with starter code and solutions.