convert to generic git endpoint, must pass full hostname