Add an option for https/ssh git checkout and use it.