I\'ve tried following these instructions: https://stackoverflow.com/a/40312117/21728 which basically do this:
sudo apt-get install libsecret-1-0 libsecret-1-dev
If you installed Git for Windows there is a windows integrated credential manager installed on your system.
You can run windows executables from WSL as found here.
To use it you can run the following command (assuming that your git for windows is installed on C:\Program Files\Git)
git config --global credential.helper "/mnt/c/Program\ Files/Git/mingw64/libexec/git-core/git-credential-manager.exe"