What is the long hexadecimal code that names a Git commit?

Start playing free

  1. A random serial number
  2. A hash-based object ID
  3. The date and time in hexadecimal

🔒 The answer is for AhaBulb members. Members see the answer, why it's right and the official sources for every card of Stuff Every Technology Expert Should Know, plus timed practice exams.

The first 50 cards of every test are free to play.

Play the free cards See membership

Like this card?
Play the game

References

  1. Pro Git book: What is Git? git-scm.com/book/en/v2/Getting-Started-What-is-Git%3F Checked 2026-10-10.
  2. Git hash function transition git-scm.com/docs/hash-function-transition Checked 2026-10-10.

Think this answer is wrong? Tap "Challenge this answer" on the card in the game and tell us why.

Test yourself in the game