The path to GCM is no longer, at least for git version 2.43.0.windows.1,
git config --global credential.helper "/mnt/c/Program\ Files/Git/mingw64/bin/git-credential-manager.exe"
but
git config --global credential.helper "/mnt/c/Users/XXXX/AppData/local/Programs/Git/mingw64/bin/git-credential-manager.exe"
Add a new version section to give the correct path for GCM.
Also the box note implies that all git config in WSL should be repeated for Windows git; is that always true or only for specific config? Clarify and provide both Windows and WSL examples if the recommendation is to keep them in sync.
Documentation Issue
The path to GCM is no longer, at least for git version 2.43.0.windows.1, git config --global credential.helper "/mnt/c/Program\ Files/Git/mingw64/bin/git-credential-manager.exe" but git config --global credential.helper "/mnt/c/Users/XXXX/AppData/local/Programs/Git/mingw64/bin/git-credential-manager.exe"
Link to documentation page
https://learn.microsoft.com/en-us/windows/wsl/tutorials/wsl-git#git-credential-manager-setup
Suggested Improvements
Add a new version section to give the correct path for GCM.
Also the box note implies that all git config in WSL should be repeated for Windows git; is that always true or only for specific config? Clarify and provide both Windows and WSL examples if the recommendation is to keep them in sync.