How to Fix Git Push Rejected Non-Fast-Forward Error - How to Resolve Git Non Fast Forward Push Rejection-Git --allow-unrelated-histories: Preserve All Commits

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