import git pre-commit and update hooks from puppetlabs wiki