I'd like to introduce you to an awesome git companion :
pre-commit hooks by Yelp.
Git hooks are scripts that
git executes before or after events such as: commit, push, and receive.
Git hooks are a built-in feature, but
git does not offer much support for them: if there is a …