Update git.ado

Safeguard against repo URL ending in ".git"