A commit is a saved snapshot of the project at one moment, with three things attached: who made it, when, and a message saying what they did and ideally why.
WHAT A COMMIT LOOKS LIKE
commit a7f3c21
Author: Nadia Okonkwo
Date: 14 March 2026, 11:42
Fix scheduled payments failing on the 31st
Months with fewer than 31 days were silently
skipping the payment instead of falling back
to the last day. Reported by three customers
in February. See NG-884.
---------------------------------------------------
The short code is the commit's unique ID. You'll see
these everywhere - in release notes, in blame views,
in incident reports. You never need to memorise one,
but recognising the shape is useful.
Commit Messages Are Product Documentation
That message explains a bug, its cause, its impact, and links a ticket. On a team that writes messages like this, the commit history is the most accurate record of your product's decisions that exists anywhere — better than your PRDs, because it can't drift from reality.