# git commit -m

`git commit -m "first commit"`

Save a snapshot of your changes with a message.

## What each part does

- `git` — command — track changes to your project and share them
- `commit` — argument: a file, a folder, or text
- `-m` — flag (a command option)
- `first commit` — argument: a file, a folder, or text

Source: https://zero2vibecode.com/explain/git-commit-m
