properly re-initialize git hooks