Find Nginx Permission Denied Error Logs and Fix Access Issues - Git Detached HEAD Explained and Troubleshooting Guide-How to Fix Git Push Rejected (Non Fast-Forward Error)

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