Fix 'Windows Cannot Access Shared Folder' via Registry - Recover from Git Detached HEAD with Reset Hard-Git Detached HEAD Warning: What It Means and How to Fix It

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