Multiple app have the id git.git --> impossible to install Git
Try winget install -e --id git.git
winget install -e --name Git ended up working for me.
or winget install Git --exact
-e works fine for me. Seems that a friendly reminder is needed for such situation.
I had the same problem then I found the -e or --exact option. I think -e should not be required when the --id option is provided.
In such cases a simple winget install -i git.git should be enough.
Thanks for theses responses 馃憣
Most helpful comment
winget install -e --name Gitended up working for me.