Git Merge Unrelated Histories with Conflicts: How to Resolve - How to Manually Remove a Stuck Git index.lock File-Fix Git Detached HEAD Without Losing Work

Result check
- Keep one change per test run so you know which step helped.
- Undo temporary changes after the issue is confirmed.