If you have Git set up on Windows, you can use your Git credentials stored in Windows to do Git operations in Linux. Run the command below in bash to set this up:

 git config --global credential.helper "/mnt/c/Program\ Files/Git/mingw64/libexec/git-core/git-credential-manager.exe"

For more Git setup tips check out this tutorial on the WSL docs.