Fix Git Push Rejected Non Fast Forward Remote Error - Fixing Nginx 403 Permission Denied-Resolve index.lock Exists in Git on Linux

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