mirror of
https://github.com/stablyai/orca.git
synced 2026-10-31 09:07:40 +00:00
A fork's upstream remote can default to a different branch than origin. Read refs/remotes/<remote>/HEAD for the tracked remote and fall back to origin's default only when git never recorded it. Reuses the default-branch resolver's host routing and cache.