How to Fix Git Detached HEAD State and Undo Changes - Windows 11 Bluetooth Hardware Not Found: How to Fix-Detached HEAD in Git: Step-by-Step Recovery

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