`wget` is not installed on OS X by default. You could replace this command and the other with:

``
curl -O https://gist.github.com/wasade/9611804/download > $HOME/git/templates/hooks/pre-commit
``