How to Fix Git Index Lock File Exists Error - How to Merge Unrelated Git Histories-Non Fast Forward Error Troubleshooting

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