Install the prek hook. This will set up prek to run the checks automatically on your files before you commit them. It's possible that prek will make changes to your files when it runs the checks, so ...
You can replace them with your own in the key's Commands setting, which takes a JSON list. Leave it empty to use the defaults. Download a file from the Releases page ...