refs #8804 returning precommit hook accidentally deleted

during the merge. This will probably cause merge conflicts when merging to master (I will try to deal with them) but it should be easy to fix them - just choose any version of pre-commit