How to Fix Git Authentication Failed in VS Code - Fix Git Detached HEAD in IntelliJ-ERR_NAME_NOT_RESOLVED Linux Troubleshooting

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