Update git pre-commit hook to work with `/bin/sh`.

Closes #29.