Overview
A commit is a permanent recorded version in the local repository. It takes the current contents of the staging area, saves them in project history, attaches author information and a message, and assigns the commit a unique identifier.
Committing is not the same as editing, staging, or pushing. It is the transition from a reviewed staging area into local version history.