🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← 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?

  1. A.They are identical
  2. B.fetch downloads commits without changing your branch; pull also merges them
  3. C.pull uploads your commits
  4. 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 →