Modified method to return a remote instance
Modified method to return a remote instance

Needed to call the git remote command with the verbose option to get name and URL. Since the output of the command has variable whitespace, we needed to parse using regex. Since the git remote get-url command always returns the fetch remote, we filter out all odd indexed lines.

kactus-io/kactus,j-f1/forked-desktop,say25/desktop,kactus-io/kactus,j-f1/forked-desktop,artivilla/desktop,say25/desktop,gengjiawen/desktop,artivilla/desktop,desktop/desktop,artivilla/desktop,kactus-io/kactus,shiftkey/desktop,gengjiawen/desktop,shiftkey/desktop,hjobrien/desktop,gengjiawen/desktop,desktop/desktop,gengjiawen/desktop,desktop/desktop,BugTesterTest/desktops,desktop/desktop,shiftkey/desktop,BugTesterTest/desktops,artivilla/desktop,say25/desktop,j-f1/forked-desktop,hjobrien/desktop,kactus-io/kactus,j-f1/forked-desktop,say25/desktop,hjobrien/desktop,hjobrien/desktop,shiftkey/desktop,BugTesterTest/desktops,BugTesterTest/desktops