Adds pre-commit hooks.
Commit key binding.