Git Merge --allow-unrelated-histories: When and How to Use It - Resolve Git index.lock Error on Windows-Recover from Windows 11 Driver Update Crash

Prepare
Execute
Validate
Document
Operational follow-up
- Record the exact option, command, or setting that changed the result.
- Keep a rollback note if the workflow affects shared files or team settings.