Command Reference
git commit Tutorial
Explains how git commit creates new history nodes, how to write useful messages, and when amend is appropriate.
The short version
git commit turns staged content into a new commit object at the tip of the current branch.
Common usage
git commit -m "feat: add search dialog"
git commit --amend
Use --amend mainly for local cleanup before the history is shared.