Fix VSCode Git Auth Failed: Expired Token - Fixing Non-Fast-Forward Rejection When Pushing to Remote-Understanding Git's Detached HEAD State

Final checklist
- Confirm that the same symptom is gone after a restart or refresh.
- Keep the smallest working change and undo temporary diagnostic settings.