Problem: apparently the scripts in the .git/hooks directory depend on the filename matching one of:
post-commit
pre-commit
pre-rebase
etc ...
No concept of "file extension" is required because the "shebang line" indicates how the file should run, as long as it is executable and running on your Linux box.
The problem is when you have some scripts that you want to run on a Windows box.
Question: Is there a way to execute the hook scripts that can be understood on a Windows machine?