Fix 'Permission Denied' in VS Code Terminal on Mac - Fix VS Code Git Authentication Failed with Two-Factor Auth-Resolving Git's Refusing to Merge 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.