How to Fix Git Detached HEAD and Checkout a Branch - Fix Cloudflare Origin Certificate Error After SSL Change-Resolve 0x80070005 Using Clean Boot

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