use pre-push hook instead of post-receive hook