History & Inspection interview questions

15 real History & Inspection questions from the Git bank, as asked in Indian campus drives and tech interviews. Every question has a verified answer and an AI-tutor explanation on placd — free to start.

1. What is Log?

Junior
  1. A.a binary search across history to locate the commit that first introduced a defect
  2. B.annotating each line of a file with the commit and author that last modified it
  3. C.viewing past snapshots from newest to oldest with their messages, authors, and hashes
  4. D.applying the changes from one specific commit onto the current line as a new node
Reveal the answer + AI explanation — free account

3. Which statement is correct?

Junior
  1. A.Log — viewing past snapshots from newest to oldest with their messages, authors, and hashes
  2. B.Log — a binary search across history to locate the commit that first introduced a defect
  3. C.Log — applying the changes from one specific commit onto the current line as a new node
  4. D.Log — showing the line-level changes between two states such as the index, a snapshot, or the working tree
Reveal the answer + AI explanation — free account

4. What is Diff?

Junior
  1. A.showing the line-level changes between two states such as the index, a snapshot, or the working tree
  2. B.annotating each line of a file with the commit and author that last modified it
  3. C.viewing past snapshots from newest to oldest with their messages, authors, and hashes
  4. D.a binary search across history to locate the commit that first introduced a defect
Reveal the answer + AI explanation — free account

6. Which statement is correct?

Junior
  1. A.Diff — annotating each line of a file with the commit and author that last modified it
  2. B.Diff — viewing past snapshots from newest to oldest with their messages, authors, and hashes
  3. C.Diff — showing the line-level changes between two states such as the index, a snapshot, or the working tree
  4. D.Diff — a binary search across history to locate the commit that first introduced a defect
Reveal the answer + AI explanation — free account

7. What is Blame?

Mid
  1. A.applying the changes from one specific commit onto the current line as a new node
  2. B.annotating each line of a file with the commit and author that last modified it
  3. C.showing the line-level changes between two states such as the index, a snapshot, or the working tree
  4. D.viewing past snapshots from newest to oldest with their messages, authors, and hashes
Reveal the answer + AI explanation — free account

9. Which statement is correct?

Mid
  1. A.Blame — viewing past snapshots from newest to oldest with their messages, authors, and hashes
  2. B.Blame — a binary search across history to locate the commit that first introduced a defect
  3. C.Blame — applying the changes from one specific commit onto the current line as a new node
  4. D.Blame — annotating each line of a file with the commit and author that last modified it
Reveal the answer + AI explanation — free account

10. What is Bisect?

Senior
  1. A.a binary search across history to locate the commit that first introduced a defect
  2. B.applying the changes from one specific commit onto the current line as a new node
  3. C.annotating each line of a file with the commit and author that last modified it
  4. D.viewing past snapshots from newest to oldest with their messages, authors, and hashes
Reveal the answer + AI explanation — free account

12. Which statement is correct?

Senior
  1. A.Bisect — showing the line-level changes between two states such as the index, a snapshot, or the working tree
  2. B.Bisect — a binary search across history to locate the commit that first introduced a defect
  3. C.Bisect — viewing past snapshots from newest to oldest with their messages, authors, and hashes
  4. D.Bisect — annotating each line of a file with the commit and author that last modified it
Reveal the answer + AI explanation — free account

13. What is Cherry-pick?

Senior
  1. A.showing the line-level changes between two states such as the index, a snapshot, or the working tree
  2. B.a binary search across history to locate the commit that first introduced a defect
  3. C.viewing past snapshots from newest to oldest with their messages, authors, and hashes
  4. D.applying the changes from one specific commit onto the current line as a new node
Reveal the answer + AI explanation — free account

15. Which statement is correct?

Senior
  1. A.Cherry-pick — a binary search across history to locate the commit that first introduced a defect
  2. B.Cherry-pick — applying the changes from one specific commit onto the current line as a new node
  3. C.Cherry-pick — viewing past snapshots from newest to oldest with their messages, authors, and hashes
  4. D.Cherry-pick — annotating each line of a file with the commit and author that last modified it
Reveal the answer + AI explanation — free account

Free to start

Answers, AI explanations, and a scored voice mock interview

Sign up free to check your answers with explanations, ask the AI tutor anything on any question, and take one full AI mock interview — scored like a real panel.

Practice History & Inspection free