provide a working pre-receive hook