If you want to avoid committing or pushing code that doesn't comply with the coding conventions,
it can help to add a git hook.
For example to create a hook that prevents you from pushing commits that fail `./gradle ktlintCheck`, add the following script at `.git/hooks/pre-push`: