Validating both git and https repos