Command
git commit
Explanation
git commit is used to record changes to the repository. It records the changes to the repository.
Examples
Commit with message
git commit -m "message"
Add and commit tracked files
git commit -am "message"
Modify last commit
git commit --amend