This recommendation is motivated by the fact that a common code style will reduce extraneous git diffs caused by formatting differences. The git log will be more parseable.
A pre-commit hook is the appropriate hook to use for validating code changes before committing. We can use a precommit hook to: