Fixing Cloudflare 521 Error: Enable Origin Pull Setup - VSCode Extension Permission Denied Fix-Git index.lock Error on Mac: Fix and Prevention

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