A Git commit is a snapshot of changes on the current working branch. The commit tracks the changes that were staged and has a message that allows the developer to describe the changes made in that particular commit. A branch can contain many commits. Example code:

git commit -m 'Change background to blue'