handle ssh/https github clones