Fix install_hooks.sh

I accidentally swapped the arguments around for a git command. Also,
this script needs to clean up the git config and the .git/hooks dir
before it adds new hooks. Otherwise git will run the same command
multiple times in parallel.

Bug: b/187094215
Change-Id: I70ca3bd3ba381e581b176bc9794a26d89937f00f
1 file changed
tree: aa215409958e71cca658951c92faf002876f2ac0
  1. commit-msg
  2. install_hooks.sh
  3. pre-commit