Fix latest PR review findings

- avoid git reset when repository has no HEAD\n- use React Query isLoading for checkpoint diff spinner\n- remove unreachable provider manager guard\n- add no-HEAD restore regression test\n\nCo-authored-by: codex <codex@users.noreply.github.com>
b441875731Julius Marminge committed on 2/19/2026, 5:59:17 AM· committed by Julius Marmingeparent8e74426
4 files changedLine totals unavailable