Fix VSCode IntelliSense Not Working with TypeScript - SourceTree Detached HEAD: How to Fix It-Fixing git merge unrelated histories errors with conflicts

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