Fix flash of 'Initialize git' when switching branch/worktree

branchesQuery.data is undefined while loading, so isRepo defaulted to
false — briefly showing the init button even for worktrees. Now defaults
to true while loading (only shows init when the query actually returns
isRepo: false).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
cf66f53a55Julius Marminge committed on 2/11/2026, 11:41:27 PMparentd6ecf15
1 file changedLine totals unavailable