I created a new Windows Server 2022 VM, installed all pending updates, then installed the latest versions of Office 365 and Visual Studio 2022.
Edge is already the system default browser:
When I try to clone a repo from Azure DevOps, the Git Credential Manager window pops up using IE as its browser:
IE is no good because it doesn't display the login page correctly. How can I force GCM to use Edge?
I tried this from Git for Windows on the command line and from Visual Studio, but it made no difference.
I tried this with no .gitconfig file (default behaviour), and with an explicit minimal .gitconfig file, but it made no difference.
[user]
name = <me>
email = <me>
[credential]
helper =
helper = manager
[credential "https://dev.azure.com"]
usehttppath = true


You can force git to use your OS system browser default by using credentail.msauthFlow=system
This was confirmed on Windows Server 2019. The documentation can be found at the link below. Make sure you have uninstalled IE first or set the default web browser app to anything else before using this. Simply setting the default browser will not work as the IE web view will
https://github.com/git-ecosystem/git-credential-manager/blob/main/docs/configuration.md#credentialmsauthflow