Recently I\'ve been getting a popup when pushing or pulling from upstream
git-credential-osxkeychain wants to use your confidential information stored in \"githu
Delete the entry corresponding to git-credential-osxkeychain in Keychain Access and re-enter your credentials to get it working.
I fixed this but in a somewhat insecure way because none of the other proposed solutions worked for me.
Allow all applications to access this item
.You should no longer get prompted by xcodebuild
.
This appears to have been an issue with MagicPrefs. I quit MagicPrefs and my symptoms have disappeared.
(ref: https://apple.stackexchange.com/questions/208704/os-x-10-11-unable-to-press-allow-on-keychain-access-dialogs )
-- original answer below for posterity -- I found that this occurs with some sort of failure with Keychain Access. The reason I say that is because I also had the problem clicking the button Allow or Always Allow (but not Deny) when changing another aspect of Keychain.
authd.log file shows "Succeeded.." for what appears to be each time I pressed Accept it however the modal dialog box does not disappear.
Solution for me: Restart, did not have to re-enter my credentials like the solutions above. :(
You should enter password of your user(mac login password), but not git password.
For SourceTree users, try downgrading Git to system Git, via SourceTree > Preferences > Git > Use System Git.
According to this report SourceTree 2.2 uses Git 2.6.4 which is causing the bug.
This fixed the issue for me:
Keychain Access
Keychains -> login
and Category -> Passwords
github.com
in search box, you should see an entry (or entries) of Internet Password
kind for github.com
. Right click & Delete them.