Git Hooks for single repository git config core.hooksPath .githooks global git config --global core.hooksPath .githooks Run Shell script on Windows 10 with Git Bash Start Git Bash in directory Run this command to run the script: sh name-of-file.sh