Fix npm install Incompatible Node Version Errors - How to Recover Stashed Changes in Git Detached HEAD-How to Merge Branches with Unrelated Git Histories

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