Menu
Engineering

Coding & Git

Snapshot

Also called git snapshot.

In plain English

A snapshot is the set of file contents Git recorded at one moment.

Example

You save a file locally. The Git snapshot stays the same until you commit. After the commit, the new commit names the new snapshot.

Why it matters

A commit points at a snapshot and adds the history around it: what it followed, who recorded it, and the message. The snapshot is the files. The commit is the snapshot plus that history record.

Saving a file on disk does not create a snapshot in Git.

Common confusion

Snapshot and commit are related, but a commit is the recorded checkpoint, not only the file contents.

Sources

Updated September 30, 2026.

Cookie preferences