Match git config URLs for https and without .git