How to Fix Git Push Failed Due to Large File - How to Resolve Detached HEAD in VS Code-How to Make Git Always Allow Unrelated Histories

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