Every change to a project in Git reaches the shared history as a commit, whether a developer typed it, a designer saved it in GitHub's web editor, or an AI agent generated it. AI builders now produce commits by the dozen, many with messages no person wrote. Reading commits is how a team finds out what changed, who changed it, and whether a person or a tool was behind it.
In this glossary topic:

What is a commit?
A commit is a saved point in the history of a Git repository, capturing one change along with the state of the whole project at that moment. It also records the details needed to understand that change later: who made it, when, and a message saying what changed and why. Commits are deliberate. Editing a file changes nothing in the history until someone commits the edit.
Each commit points back to the one before it, called its parent, and those links chain all the commits into a single timeline. Following the chain backwards leads from today's version all the way to the project's first commit. A project's history is simply its commits, linked in order.
What does a commit record?
Under the surface, a commit stores a snapshot of every file in the project, a pointer to its parent, and a few pieces of metadata: a name and email address, a timestamp, and the message. Git actually records 2 people. The author originally wrote the change, and the committer last applied it. They're usually the same person, but they differ when someone applies another person's work. A merge commit, which marks the moment 2 branches were combined, is the one kind of commit with more than one parent.
Tools rarely show the snapshot itself. They show a diff, the difference between a commit and its parent, with removed lines in red, added lines in green, and unchanged lines around them for context. The commit's ID, a hash calculated from its contents, gives every change a permanent handle, so a teammate can write "the layout broke in 057c6f3" and point to exactly one change. A commit is the change plus its context, and the context is what makes it useful months later.
What makes a good commit message?
The message is the one part of a commit a person writes, and it's the part future readers depend on. The Pro Git book, the standard reference on Git, recommends a first line of about 50 characters or fewer, written as a command, such as Fix broken link on contact page, followed by a blank line and a longer explanation of why the change was needed. A quick test is whether the summary naturally completes the sentence If applied, this commit will...
GitHub's web editor pre-fills a default such as Update index.html. It's accurate but nearly useless, because a history full of file names says nothing about what changed or why, and finding the right commit means opening each one. A good commit message names the result, not the file.
Size matters as much as wording. A focused commit holds one idea, like a fixed link or a corrected price, so undoing it removes exactly that. A commit that bundles a price change with a new gallery and a layout tweak can only be undone all at once, or untangled by hand. The Guide to Git Commits & Version History lesson compares weak and strong messages side by side.
How does a commit differ from a push?
Committing and pushing are 2 separate steps that tools often blur together. A commit saves a change into the history of the repository where it's made. A push sends commits from one copy of a repository to another, usually from a laptop up to GitHub, where teammates can see them. A designer can commit 3 fixes on a laptop, and nobody else sees any of them until they're pushed. Committing saves the work, and pushing shares it.
GitHub's own web editor is the exception. A commit made there is created directly in the repository on GitHub, so it's shared the moment it's confirmed, with nothing left to push. Other tools blur the line from the other side. AI builders may push automatically right after committing, and many apps hide pulling and pushing behind a single Sync button, which is why a change sometimes appears on GitHub only after a sync finishes. The Git Clones, Forks & When to Use Them lesson follows a full round of pulling, committing, and pushing.
Why do commits matter for designers and product teams?
Commits make a project's decisions traceable. The history answers when a page changed, and GitHub's Blame view goes further, showing each line of a file next to the last commit that changed it, with its author and date. Picture a menu page where one price looks wrong: Blame points to the commit that set it, and the message often explains the decision, which saves a round of questions in the team chat.
Designers and product managers increasingly commit changes themselves, usually in the browser rather than a terminal, and where those commits land is a team decision. A commit straight to main changes the version everyone relies on at once, while a commit to a new branch waits in a pull request until someone reviews it. Many teams protect main so that only reviewed changes reach it, while several AI app builders push straight to the default branch, which is worth knowing before connecting one to a shared repository. Where a commit lands matters as much as what it contains.
How have commits changed with AI?
Commit volume has climbed alongside AI tools. GitHub's Octoverse 2025 report counted more than 986 million commits pushed in 2025, up 25% on the year before, with activity accelerating in early 2025 around the preview of GitHub's coding agent in March. Over the same period, comments on commits fell by 27%.
Not every commit comes from a person. AI app builders often commit under their own bot account, marked [bot] after the name, sometimes listing the person who prompted them as a co-author. Some save after nearly every change, so an afternoon of prompting can add dozens of commits with short, generated messages.
Coding agents work the same way, with consequences for review. When GitHub's Copilot cloud agent does a task, its commits are authored by Copilot, the person who asked for the change is listed as co-author, and each commit message links to the agent's session log. GitHub then treats that person like an author of the pull request: they can't approve it, and their approval doesn't count toward required reviews. On AI work, a commit's author line also decides who may approve the change.
What does a commit look like in practice?
In GitHub's web editor, a commit starts as a small dialog. It asks for a message, offers room for a longer description, and asks where the commit should go. Choosing a new branch turns the final button from Commit changes into Propose changes, because the commit will arrive as part of a pull request rather than directly on main.

Each commit is a decision: what changed, why, and whether it goes straight to main or waits for review. From the lesson How to Edit & Commit Files on GitHub.
Once saved, a commit becomes one entry in the repository's history, listed newest first and grouped by date, with its message, author, time, and short hash. Opening any entry shows the exact lines it changed. A clear message lets a reader find the right commit without opening every one.

Clear messages keep history readable months later, while a vague one like "Update README.md" hides what actually changed.





