> ## Documentation Index
> Fetch the complete documentation index at: https://rajanand.org/llms.txt
> Use this file to discover all available pages before exploring further.

# How to fix git "fatal: Authentication failed" issue after password change?

## Problem:

I have the local git repository which is set up to track the remote git repository. I have changed the password of the remote git service. Then trying to push the change from local to the remote repository. I got the below issue.

> fatal: Authentication failed for '[https://git.example.com/test.git](https://git.example.com/test.git)

<Frame>
  ![fatal: Authentication failed for "repo url"](https://cdn.hashnode.com/res/hashnode/image/upload/v1687523652907/c240c4a8-bcdf-4593-a79e-34692d0cc96c.png)
</Frame>

## Solution:

You have to update the remote repository password details in the credentials manager.

* Search for "Credential Manager" in the start menu and open.

* Click "Windows Credentials"

<Frame>
  ![](https://cdn.hashnode.com/res/hashnode/image/upload/v1687524170212/5a21f1ca-c6ec-4c3a-a879-4840dc5d1b85.png)
</Frame>

* Find the git remote repo and edit the password with the latest password.

<Frame>
  ![](https://cdn.hashnode.com/res/hashnode/image/upload/v1687524791004/80d927af-2431-4d4d-8801-4c17ef3aa753.png)
</Frame>

If you try the git command again, it should work without any issues.
