Git Merge --allow-unrelated-histories: When and How to Use It - Remove Git index.lock File Manually-pnpm Install Hangs at Resolving Dependencies Fix

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