Fix Permission Denied When Running Script in VS Code Terminal - Fix Edge Sync Not Syncing History-Fix Git Push Rejected Due to Unrelated Histories

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