In Git, a commit is a snapshot of your project's files at a specific point in time, effectively saving your work and creating a record of changes, including who made the changes, when, and what they did.
Commits are created with the git commit command to capture the state of a project at that point in time.
Git Snapshots are always committed to the local repository, each developer’s local repository is a buffer between their contributions and the central repository.
Prior to the execution of git commit, the git add command is used to promote or 'stage' changes to the project that will be stored in a commit.