Adds script to install git hooks and code for hooks.