← Quiz: How Git Works Inside: all 10 questions
Quiz: How Git Works Inside · Question 2 of 10
Two students on different laptops each create a file containing exactly the same bytes. What is true about the blob ids…
Two students on different laptops each create a file containing exactly the same bytes. What is true about the blob ids Git computes?
- A.They differ because the computers differ
- B.They differ because the times differ
- C.They are identical, because the id depends only on the content
- D.They are identical only if both use the same branch name
Answer & explanation
Correct answer: They are identical, because the id depends only on the content
A blob id is the hash of the type, size and content, nothing else.
Can you get the rest right without peeking?
Take the timed Quiz: How Git Works Inside quiz free. Pass it to earn XP and count towards your certificate.
Start the quiz →