What is a Git Commit Message?
Definition of a commit message and its role in version control.
Definition
A Git commit message is a text description attached to a specific snapshot (commit) of a repository. It serves as a historical log explaining what changed in the code and why.
Structure
It traditionally consists of a short summary line (under 50 characters), followed by an empty line, and a more detailed body explaining the reasoning behind the change.