Encode ref in URL
Encode ref in URL

See https://github.com/desktop/desktop/pull/9086

artivilla/desktop,artivilla/desktop,say25/desktop,kactus-io/kactus,kactus-io/kactus,artivilla/desktop,j-f1/forked-desktop,j-f1/forked-desktop,shiftkey/desktop,say25/desktop,j-f1/forked-desktop,kactus-io/kactus,j-f1/forked-desktop,desktop/desktop,desktop/desktop,shiftkey/desktop,shiftkey/desktop,desktop/desktop,desktop/desktop,shiftkey/desktop,say25/desktop,kactus-io/kactus,say25/desktop,artivilla/desktop