🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← Quiz: Git Workflow and Interview: all 10 questions

Quiz: Git Workflow and Interview · Question 4 of 10

Which command helps find the commit that introduced a bug using binary search?

Which command helps find the commit that introduced a bug using binary search?

  1. A.git blame
  2. B.git bisect
  3. C.git log
  4. D.git diff
Answer & explanation

Correct answer: git bisect

bisect halves the range of commits each step.

Can you get the rest right without peeking?

Take the timed Quiz: Git Workflow and Interview quiz free. Pass it to earn XP and count towards your certificate.

Start the quiz →