Issue 8164 runtime reproduction, Linux x86_64, main ed9b7ca9c53843ea1e6b466bf7d52928d10e7db0 Fixture: local develop branch with empty initial commit; clone --bare into myproj/.bare; myproj/.git contains gitdir: ./.bare; sibling worktrees develop and feature-x. Literal clone --bare sets core.bare=true: parent rev-parse outputs false then fatal: this operation must be run in a work tree. Web Add project accepts parent as non-Git, offers Initialize Git. Variant: set core.bare=false to match actual configuration in report. Web dev server Add project accepts parent; draft current checkout develop, Changes +901 -0 including Git metadata and sibling worktrees. No provider turn started. $ git --version git version 2.43.0 [exit 0] $ git -C /tmp/8164-fixture/myproj config --get core.bare false [exit 0] $ git -C /tmp/8164-fixture/myproj rev-parse --is-inside-work-tree --show-toplevel --git-common-dir true /tmp/8164-fixture/myproj /tmp/8164-fixture/myproj/.bare [exit 0] $ git -C /tmp/8164-fixture/myproj status --short ?? .bare/ ?? develop/ ?? feature-x/ [exit 0] $ git -C /tmp/8164-fixture/myproj/develop rev-parse --is-inside-work-tree --show-toplevel --git-common-dir true /tmp/8164-fixture/myproj/develop /tmp/8164-fixture/myproj/.bare [exit 0]