Refresh branch upstream after checkout and invalidate git queries

- fetch tracked remote after checkout to update ahead/behind counts
- add integration test for behind count when remote branch advances
- invalidate git React Query data on `turn/completed` events in the web app
f145a453b5Julius Marminge committed on 2/15/2026, 8:53:20 AM· committed by Julius Marmingeparent1f4f693
3 files changedLine totals unavailable