Commits with Git provide accountability by attributing authors with changes to code. Git offers multiple features for the specificity and security of commits. This topic explains and demonstrates proper practices and procedures in committing with Git.
git commit [flags]
Committing without opening an editor
Commit on behalf of someone else
Selecting which lines should be staged for committing