My post commit hook is not running after git. I have verified that the hook does work if I just run it from the terminal. The code in the hook is:
#!/bin/s
In addition to the answers noted here, note that if you are expecting user input in your hook, you need to redirect standard input to the keyboard like so (at least for a bash script);
exec < /dev/tty