first implementation of remote pre-receive hooks