Solution: Failed to “Fetch” in Intellij

1. Go to Control Panel

2. Search for “Credentials”

3. Select Windows Credentials

4. Select github/gitlab credentials from the list

5. Select edit and update your password then restart Intellij

Inserting text into a file using BASH

Getting “fatal: Authentication failed” -error when sending git commands in Windows 10

The password is stored in windows credential manager and needs to be updated.

Open command prompt and enter the following command to view the list of stored passwords:

rundll32.exe keymgr.dll,KRShowKeyMgr

Scroll down in the list until you spot the git-related entries.

Click it and edit the correct password.