automatic protocol handler for git