A commit is an operation which saves the latest changes of the code and represents a snapshot of a project.