Default repository branch stuck on the wrong branch

Resolved 💬 0 comments Opened Aug 28, 2025 by thinksentient Closed Nov 27, 2025

What version of Codex is running?

https://chatgpt.com/codex

Which model were you using?

_No response_

What platform is your computer?

any browser

What steps can reproduce the bug?

Navigate to https://chatgpt.com/codex. Login if needed.
Look at the repository branch preselected under the chat box.

What is the expected behavior?

On page open the branch selected should either be the default repository branch or the last selected branch.

What do you see instead?

The selected branch is always beta.
<img width="2132" height="606" alt="Image" src="https://github.com/user-attachments/assets/a02db7bd-85e2-4990-8343-dcf1aa15da17" />

I'm not sure if this is because it is the first branch in the list, or because at one point this was the default branch for the repository. There doesn't seem to be a way to set a default manually anywhere though or reset cached github info if that is the issue.

Additional information

_No response_

View original on GitHub ↗