You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Windows app shows "Create git repository" for valid WSL worktrees and does not show branch in thread #14182
In Codex Windows app, chat threads opened from WSL worktree paths sometimes show “Create git repository” under the submit box even though the folder is a valid Git repo. The branch indicator for that thread also does not reflect the actual branch (ra, rb, rc).
Environment
App: Codex Windows app (Microsoft Store package OpenAI.Codex)
Observed version: 26.305.950.0 (from process path)
OS: Windows + WSL2 (Ubuntu)
Workspace paths:
\\wsl.localhost\\Ubuntu\\www\\worktrees\\cs-ra
\\wsl.localhost\\Ubuntu\\www\\worktrees\\cs-rb
\\wsl.localhost\\Ubuntu\\www\\worktrees\\cs-rc
Date observed: March 9-10, 2026 (America/Los_Angeles)
Repro Steps
Create or use multiple Git worktrees in WSL:
/www/worktrees/cs-ra on branch ra
/www/worktrees/cs-rb on branch rb
/www/worktrees/cs-rc on branch rc
Open Codex Windows app and launch/open threads for those UNC paths (\\wsl.localhost\\Ubuntu\\...).
In each thread, observe the UI under the submit box.
Actual Behavior
UI shows “Create git repository” in threads for cs-rb and cs-rc (sometimes also after reopening cs-ra).
Branch is not shown correctly for affected threads.
Looks like thread cwd/workspace binding is stale or unresolved in app state.
Expected Behavior
Codex should detect existing Git repo for each workspace thread.
Branch indicator should show the actual branch for that workspace (ra, rb, rc).
Opening additional workspaces should not lose Git context.
I have the same error and I just run git init in cmd in my project directory. Then I get an git error - "git fatal detected dubious ownership in repository", when I fixed it and run git init again - Codex could find my repo and master branch. Hope it helps
Activity
github-actions commentedon Mar 10, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
MineScieper commentedon Mar 10, 2026
I have the same error and I just run
git initin cmd in my project directory. Then I get an git error - "git fatal detected dubious ownership in repository", when I fixed it and rungit initagain - Codex could find my repo andmasterbranch. Hope it helpsofek commentedon Mar 14, 2026
I think the root cause is #10347