default to http git

should this an Line 156 be extracted out into a method?