Add git hooks and install.