Please check https://github.com/GodelTech/git-hooks as possible alternative
git config core.hooksPath .githooks
git config --global core.hooksPath .githooks
- Start Git Bash in directory
- Run this command to run the script:
sh name-of-file.sh