Fix git hooks and install them