Recover Lost Changes After Git Detached HEAD - Troubleshooting Permission Denied in VSCode Terminal for Virtual Environments-Windows Defender Real-Time Protection Disabled Fix

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