Git hook permissions fix