add option to choose git protocol