Github Username/Password Keeps Popping up

Where does the bug appear (feature/product)?

Cloud Agent (GitHub, Slack, Web, Linear)

Describe the Bug

Not sure what’s going. But I keep getting this annoying Github username/password pop up everytime I switch from one chat to another all of sudden tonight.

Steps to Reproduce

If you switch between chats in the agents window, I keep on getting this.

Expected Behavior

It shouldn’t pop up at all

Screenshots / Screen Recordings

Operating System

MacOS

Version Information

Version: 3.11.13
VS Code Extension API: 1.125.0
Commit: 3f21b08f0b436a07be29fbfe00b304fa15553350
Date: 2026-07-10T01:45:28.254Z
Layout: Agent Window
Build Type: Stable
Release Track: Default
Electron: 40.10.3
Chromium: 144.0.7559.236
Node.js: 24.15.0
V8: 14.4.258.32-electron.0
xterm.js: 6.1.0-beta.256
OS: Darwin arm64 23.6.0

For AI issues: which model did you use?

Not applicable.

Does this stop you from using Cursor

Yes - Cursor is unusable

Hey, thanks for the report. This is the HTTPS auth prompt from the built-in Git. Its cache expires pretty quickly, and when you switch chats in the Agents Window, each workspace triggers git operations against the remote, so the username request keeps popping up.

This is a known bug. There’s no ETA for a fix yet, but here are a couple of workarounds that usually remove the prompt completely:

  1. Set up a git credential helper so your creds get cached once. You’re on macOS, so:

    git config --global credential.helper osxkeychain
    

    Next time it prompts, enter your GitHub username and a Personal Access Token, not your password. After that, it should stop asking.

    For users on other OS:

    # Windows
    git config --global credential.helper wincred
    
    # Linux
    git config --global credential.helper cache
    
  2. Or switch the repo remote from HTTPS to SSH, then there won’t be any HTTPS prompts at all:

    git remote set-url origin [email protected]:USER/REPO.git
    
  3. Or sign in to the built-in GitHub provider via Accounts / Source Control sign-in, so there’s an active GitHub session.

Let me know if none of these help.

Thanks.

Looks like the problem went away. I couldn’t reproduce it even though I restarted the agents window a few times and it kept popping up…

But now I can’t reproduce.. :frowning:

But if it happens again, I will check this thread again for the troubleshooting resolution notes.