Glossary

Commit

A commit is a saved snapshot of a Git repository at one point in time, stored with its author, date, message and a link to the previous commit.

Commit

What Is a Commit?

A commit is a saved snapshot of a Git repository at one point in time. It is stored with an author, a date, a message and a link to the commit before it. Each commit has a unique identifier, a hash such as 3f2a9c1, and the chain of commits forms the history of the project.

Why Commits Matter

The commit history is how a team finds out what changed, when, and why. When a bug appears, a developer searches the history for the commit that introduced it and reverts that one change. This works only if commits are small and described clearly. A single commit named "fixes" that touches 40 files gives no starting point and cannot be reverted without undoing unrelated work.

How a Commit Works

A developer edits files and selects the changes to record with git add, which places them in the staging area. git commit -m "Add retry to payment client" then creates the commit. Git stores a snapshot of the staged content, the author and committer, the timestamp, the message and a pointer to the parent commit. The hash is calculated from all of that content, so any change to a commit produces a different hash.

A commit exists only in the local repository until it is pushed. Commits belong to the coding stage of the software delivery lifecycle, and every later stage refers back to them: pull requests list commits, pipelines build a commit, and deployments ship one.

Commit vs Push

git commit records a change in the local repository on the developer's machine. git push uploads local commits to a remote repository such as GitHub or GitLab, where teammates and pipelines can see them. A developer can make many commits offline and push them together.

How Oobeya Uses Commits

Commits are the base unit of Git Analytics in Oobeya. Under Analytics > Coding, Review & Delivery, the Git Analytics tab classifies the code changes in each commit into work types: new work, refactor, help others and churn. Lead time for changes on the Deployments (DORA) tab starts at the first commit of a change and ends at its production deployment.

Frequently Asked Questions

What makes a good commit message?

A good message has a short summary line that states what the commit does, followed when needed by a body that explains why. Many teams add an issue key so the commit links to its work item.

What is an atomic commit?

An atomic commit contains one logical change that can be understood, tested and reverted by itself.

Turn Engineering Terms Into Actionable Visibility
Move from definitions to real delivery, quality, workflow, and AI-assisted development signals.
Talk to our experts and see how Oobeya connects the metrics behind your engineering organization.