18 Merging vs Rebasing questions from the Git bank, written for Indian campus drives and tech interviews. Every question has a verified answer and an AI-tutor explanation on placd.
Free to start: the 2-minute IT readiness check — six questions and a result.
A.joining two divergent lines by producing a new node that has both tips as parents
B.the situation where two lines edit the same region and the tool cannot auto-decide which version to keep
C.replaying a series of commits onto a new base, rewriting their hashes to produce a linear history
D.preserving exact history with extra nodes versus a clean linear log gained by rewriting shared hashes
Answer + AI explanation with Pro
2. Which term means: "joining two divergent lines by producing a new node that has both tips as parents"?
Mid
A.Squash merge
B.Merge
C.Three-way merge
D.Rebase
Answer + AI explanation with Pro
3. Which statement is correct?
Mid
A.Merge — combining changes using both tips plus their common ancestor as a reference point
B.Merge — joining two divergent lines by producing a new node that has both tips as parents
C.Merge — the situation where two lines edit the same region and the tool cannot auto-decide which version to keep
D.Merge — collapsing a feature line into one combined snapshot on the target without recording each intermediate step
Answer + AI explanation with Pro
4. What is Three-way merge?
Mid
A.combining changes using both tips plus their common ancestor as a reference point
B.replaying a series of commits onto a new base, rewriting their hashes to produce a linear history
C.the situation where two lines edit the same region and the tool cannot auto-decide which version to keep
D.preserving exact history with extra nodes versus a clean linear log gained by rewriting shared hashes
Answer + AI explanation with Pro
5. Which term means: "combining changes using both tips plus their common ancestor as a reference point"?
Mid
A.Merge
B.Squash merge
C.Rebase
D.Three-way merge
Answer + AI explanation with Pro
6. Which statement is correct?
Mid
A.Three-way merge — joining two divergent lines by producing a new node that has both tips as parents
B.Three-way merge — replaying a series of commits onto a new base, rewriting their hashes to produce a linear history
C.Three-way merge — combining changes using both tips plus their common ancestor as a reference point
D.Three-way merge — collapsing a feature line into one combined snapshot on the target without recording each intermediate step
Answer + AI explanation with Pro
7. What is Rebase?
Senior
A.preserving exact history with extra nodes versus a clean linear log gained by rewriting shared hashes
B.replaying a series of commits onto a new base, rewriting their hashes to produce a linear history
C.the situation where two lines edit the same region and the tool cannot auto-decide which version to keep
D.combining changes using both tips plus their common ancestor as a reference point
Answer + AI explanation with Pro
8. Which term means: "replaying a series of commits onto a new base, rewriting their hashes to produce a linear history"?
Senior
A.Rebase
B.Merge
C.Conflict
D.Rebase versus merge trade-off
Answer + AI explanation with Pro
9. Which statement is correct?
Senior
A.Rebase — preserving exact history with extra nodes versus a clean linear log gained by rewriting shared hashes
B.Rebase — replaying a series of commits onto a new base, rewriting their hashes to produce a linear history
C.Rebase — the situation where two lines edit the same region and the tool cannot auto-decide which version to keep
D.Rebase — collapsing a feature line into one combined snapshot on the target without recording each intermediate step
Answer + AI explanation with Pro
10. What is Conflict?
Mid
A.collapsing a feature line into one combined snapshot on the target without recording each intermediate step
B.combining changes using both tips plus their common ancestor as a reference point
C.the situation where two lines edit the same region and the tool cannot auto-decide which version to keep
D.preserving exact history with extra nodes versus a clean linear log gained by rewriting shared hashes
Answer + AI explanation with Pro
11. Which term means: "the situation where two lines edit the same region and the tool cannot auto-decide which version to keep"?
Mid
A.Three-way merge
B.Merge
C.Conflict
D.Squash merge
Answer + AI explanation with Pro
12. Which statement is correct?
Mid
A.Conflict — replaying a series of commits onto a new base, rewriting their hashes to produce a linear history
B.Conflict — combining changes using both tips plus their common ancestor as a reference point
C.Conflict — preserving exact history with extra nodes versus a clean linear log gained by rewriting shared hashes
D.Conflict — the situation where two lines edit the same region and the tool cannot auto-decide which version to keep
Answer + AI explanation with Pro
13. What is Rebase versus merge trade-off?
Senior
A.combining changes using both tips plus their common ancestor as a reference point
B.the situation where two lines edit the same region and the tool cannot auto-decide which version to keep
C.collapsing a feature line into one combined snapshot on the target without recording each intermediate step
D.preserving exact history with extra nodes versus a clean linear log gained by rewriting shared hashes
Answer + AI explanation with Pro
14. Which term means: "preserving exact history with extra nodes versus a clean linear log gained by rewriting shared hashes"?
Senior
A.Rebase versus merge trade-off
B.Three-way merge
C.Conflict
D.Squash merge
Answer + AI explanation with Pro
15. Which statement is correct?
Senior
A.Rebase versus merge trade-off — replaying a series of commits onto a new base, rewriting their hashes to produce a linear history
B.Rebase versus merge trade-off — combining changes using both tips plus their common ancestor as a reference point
C.Rebase versus merge trade-off — preserving exact history with extra nodes versus a clean linear log gained by rewriting shared hashes
D.Rebase versus merge trade-off — joining two divergent lines by producing a new node that has both tips as parents
Answer + AI explanation with Pro
16. What is Squash merge?
Mid
A.replaying a series of commits onto a new base, rewriting their hashes to produce a linear history
B.collapsing a feature line into one combined snapshot on the target without recording each intermediate step
C.the situation where two lines edit the same region and the tool cannot auto-decide which version to keep
D.joining two divergent lines by producing a new node that has both tips as parents
Answer + AI explanation with Pro
17. Which term means: "collapsing a feature line into one combined snapshot on the target without recording each intermediate step"?
Mid
A.Rebase
B.Rebase versus merge trade-off
C.Squash merge
D.Conflict
Answer + AI explanation with Pro
18. Which statement is correct?
Mid
A.Squash merge — joining two divergent lines by producing a new node that has both tips as parents
B.Squash merge — collapsing a feature line into one combined snapshot on the target without recording each intermediate step
C.Squash merge — preserving exact history with extra nodes versus a clean linear log gained by rewriting shared hashes
D.Squash merge — combining changes using both tips plus their common ancestor as a reference point
Answer + AI explanation with Pro
Free to start
Start with a free readiness check
Sign up free for the 2-minute IT readiness check and a scored result. Answers, explanations and the AI tutor on every Merging vs Rebasing question come with Pro.