parameterize repository to allow use of https or git protocol