Fix Git 'index.lock' Error in VS Code - Git Merge Refusing Unrelated Histories Solution-Resolve 522 Error with DNS-Only Mode in Cloudflare

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