Github Integration - repo branches dont show up

Where does the bug appear (feature/product)?

Cloud Agent (GitHub, Slack, Web, Linear)

Describe the Bug

After connecting Github with Cursor and granting access to the specific repository, the “Select a branch” field doesn’t load any branches from the repo. It prevents from setting up any Cloud Agent

Steps to Reproduce

After connecting Github with Cursor and granting access to the specific repository, the “Select a branch” field doesn’t load any branches from the repo. It prevents from setting up any Cloud Agent

Screenshots / Screen Recordings

Operating System

Windows 10/11

Version Information

Cloud Agent

Does this stop you from using Cursor

Yes - Cursor is unusable

Hey, thanks for the report. An endless Loading branches… in this case usually means GitHub hasn’t confirmed repo access yet. For the branch list to load, two things need to be true:

  1. The Cursor GitHub App is installed for the right org or repo, and the repo is included in the granted repositories list during installation, not just selected without being granted.
  2. The GitHub account connected to Cursor has write access or higher for that repo. Read-only won’t work since Cloud Agents push branches, so that access is rejected by design.

A couple notes:

  • If you just granted or changed access, the check can stay cached for up to about 1 hour. Try again a bit later.
  • If you have multiple Cursor accounts, make sure you’re logged into the one connected to the right GitHub.

Looks like your repo access has already gone through, so just reopen Select a branch and the branches should show up. Also, the infinite spinner instead of a clear error is a known issue we’re tracking, the UI should explain the reason more clearly.

If it’s still empty after retrying, let me know and we’ll dig in.