replace git hooks with versions actually used

Change-Id: I053d4c29e0105b94b347055bf427cf45cafbda57