maybe above should read like:

create a `pre-commit` or `pre-push` file in the `.git/hooks/` directory and then run `chmod...`