Fix Git Authentication Failed in VS Code on Mac - Resolve Cloudflare Wildcard and Root Domain DNS Conflicts-Git Detached HEAD Commit Recovery Guide

Result check
- Keep one change per test run so you know which step helped.
- Undo temporary changes after the issue is confirmed.