Harden Git refresh failure recovery

Co-authored-by: codex <codex@users.noreply.github.com>
41f3c66ef5Julius Marminge committed on 7/28/2026, 10:30:25 PMparente5ee295
4 files changedLine totals unavailable