# git commit

*noun*

say it: **“git kuh-MIT”** **/ɡɪt kəˈmɪt/**

The Git command that saves the staged changes as a new snapshot with a message.

## What does **git commit** do?

**git commit** — Creates a commit from the changes currently in the staging area.

```bash
git commit -m "Add shopping list"
```

## In a sentence

- “I ran **git commit** -m "Add scoreboard totals" once the tests passed.”

Level: Novice · [More Git terms at this level](https://www.ask-codey.com/glossary?category=git&level=1)

Updated: November 9, 2026

Source: https://www.ask-codey.com/glossary/git-commit
