GitHub for Mac error: git: 'credential-osxkeychain' is not a git command

Kilimanjaro T Robbs picture Kilimanjaro T Robbs · Dec 1, 2012 · Viewed 31k times · Source

When using the GitHub for Mac app (version 87), I received the following error:

git: 'credential-osxkeychain' is not a git command. See 'git --help'.

error: The requested URL returned error: 403 while accessing https://github.com/[PROJECT URL]/info/refs

fatal: HTTP request failed (256)

The git command-line tools (version 1.8.0) are installed at /usr/local/git/bin and git-credential-osxkeychain was correctly installed at /usr/local/git/bin.

How can I solve this error?

Answer

苏大强 picture 苏大强 · Apr 12, 2019

enter image description here

When I tried to run this command, there was no error

brew untap homebrew/homebrew-dupes