Write a script to install git tools and hooks

We shouldn't run this automatically because of security issues, but it would be nice to have an automatic install tool.