Add a pre-commit hook
Overwrite any previous pre-commit hook

Use the -f flag when creating a link for the pre-commit hook so that
when a pre-commit hook already exists, it'll be overwritten.