How to Fix 'Git Remote Origin Already Exists' and Permission Denied - VS Code PowerShell Permission Denied Troubleshooting-Fixing Detached HEAD in Git Without Losing Commits

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