Direction of the connection.
We need this because we need to know whether we should call git-upload-pack or git-receive-pack on the remote end when get_refs gets called.