
In plain words
A commit is a snapshot of your project at one moment, saved by Git, with a short message explaining what changed and why. Each commit gets a unique ID (a long code like 3f9a2c1...) so you can find it later.
Commits are like photos in an album with captions. You can flip back to any photo and see exactly how things looked.
Good commits
- One logical change per commit ("Add contact form", not "stuff").
- A message that finishes the sentence "This commit will...".
- Never a password or API key inside. See secret.
Learn it step by step in Your first commit, explained.

Found this useful?
Every lesson stays free. Tap the thumbs up so we know what works, or say thanks with a soda or a coffee: it pays for hosting and new lessons.


