How to Fix a Detached HEAD in Git Using SourceTree - How to Fix Git Changes Not Detected in VSCode-Troubleshooting npm run build Errors on Windows

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