Fixing 'git rebase index.lock file exists' Error - Resolve Windows Search Indexing Access Denied-Git Merge Unrelated Histories vs Rebase: When and How to Use Each

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