git commit
Use
git commit -m "describe the checkpoint"
What It Does
git commit records staged changes as a named checkpoint.
Practice
Write messages that say why the checkpoint matters.
Watch Out
If git says nothing is staged, run git status and stage the files you meant to save.
Docs Pointers
- Read git, git status, and git add.
- Run
git help commit.

Linux Foundations