Understanding and Fixing Git Detached HEAD State - Fix Git Clone Timeout by Adjusting Config Settings-Resolve Permission Denied in VS Code Terminal on Linux

Final checklist
- Confirm that the same symptom is gone after a restart or refresh.
- Keep the smallest working change and undo temporary diagnostic settings.