Install https://github.com/Microsoft/Git-Credential-Manager-for-Windows
git config --global --unset credential.helper
git config --global credential.helper manager
Push/pull a repo entering credentials
Go to Control Panel/User Accounts/Credential Manager