Codex Cloud session does not inherit Git remote/auth despite linked GitHub repository

Open 💬 0 comments Opened May 14, 2026 by futigo93

What version of the Codex App are you using (From “About Codex” dialog)?

26.513.11550

What subscription do you have?

Plus

What platform is your computer?

Microsoft Windows NT 10.0.26200.0 x64

What issue are you seeing?

I am using Codex Cloud with a GitHub repository linked in UI: futigo93/baileo-marketing.
In the workspace shell, Git repository exists, but no remote was preconfigured initially.
After manually adding origin, fetch fails due to missing credentials.

What steps can reproduce the bug?

Uploaded thread: 401b92ec-52b8-4a32-9bae-646d224d5aab

Open Codex Cloud session for linked repo futigo93/baileo-marketing.

Run: git remote -v (initially empty).

Add remote: git remote add origin https://github.com/futigo93/baileo-marketing.git.

Run: git fetch origin --prune.

Observe auth error.

What is the expected behavior?

When repository is linked in UI, shell checkout should include configured remote and working auth for fetch/push (or clear guidance in UI that auth is not provisioned).

Additional information

Actual behavior:
Remote is missing by default and HTTPS fetch fails with:
fatal: could not read Username for 'https://github.com': No such device or address

Frequency:
Happens repeatedly across multiple sessions for the same project.

Impact:
Cannot pull/push without manual setup every session; blocks normal Git workflow.

View original on GitHub ↗