Git Merge --allow-unrelated-histories: When and How to Use It - Resolve Nginx Config Test Failure-Fix Git Index Lock File Exists Error

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