← Quiz: GitHub: all 10 questions
Quiz: GitHub · Question 1 of 10
What is the difference between git fetch and git pull?
What is the difference between git fetch and git pull?
- A.They are identical
- B.fetch downloads commits without changing your branch; pull also merges them
- C.pull uploads your commits
- D.fetch deletes remote branches
Answer & explanation
Correct answer: fetch downloads commits without changing your branch; pull also merges them
pull = fetch + merge.
Can you get the rest right without peeking?
Take the timed Quiz: GitHub quiz free. Pass it to earn XP and count towards your certificate.
Start the quiz →