'How to fix a git configuration

I tried configuring git in a Ubuntu WSL and followed instructions to configure a global credential helper by setting a certain path to it. I followed the directions verbatim but then I got a lot of errors including that the exe credential manager core does not exist and that I need to use a personal access token instead. How do I set it up to stop using the corrupted credential manager core and how do I configure a token?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source