We have a development team that is using a 50/50 split of GitHub for windows and Bash shell for their Git management.
We have implemented a pre-commit hook (designed
Adding an answer as the currently selected answer is no longer the case. I was able to write a pre-commit hook that works across GitHub Desktop for Windows, SourceTree for Windows, and Git Bash for Windows.
I'm not sure if it's a hard requirement for windows commit hooks, but I included an exact reference to sh.exe like so:
#!C:/Program\ Files/Git/usr/bin/sh.exe
And it runs fine!