Fix VS Code Git Authentication Failed for GitLab - Recover Lost Commits from Detached HEAD-Git Merge Conflict: Keep Both Files Instead of One

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