← Quiz: Git Basics: all 10 questions
Quiz: Git Basics · Question 9 of 10
Why does every commit point to its parent?
Why does every commit point to its parent?
- A.To save disk space
- B.So the commits form a chain of history you can walk back through
- C.So GitHub can display avatars
- D.To lock the files
Answer & explanation
Correct answer: So the commits form a chain of history you can walk back through
The chain of parents is what git log shows.
Can you get the rest right without peeking?
Take the timed Quiz: Git Basics quiz free. Pass it to earn XP and count towards your certificate.
Start the quiz →