Skip to content
zero2vibecodelearn vibe coding

Commit

A saved snapshot of your changes in Git, with a message saying what changed and why.

Not the same as saving a file

Saving keeps the latest version. A commit keeps a named point you can return to — which is what makes “throw this away and start over” a keystroke instead of an afternoon.

Where it bites

The value shows up the day an agent changes forty files and one of them broke something. With a commit behind you that is one command; without one it is archaeology.

In practice

$ git log
0a1b2c3 (HEAD -> main) first commit

Covered in these lessons

Related terms