Updated precommit hook tutorial to better choose files to be diffed

Using `git diff HEAD` over `git diff --cached` will run jshint on all tracked and modified files, rather than only those that have been changed.