Fix 'Permission Denied' in VS Code Terminal on Mac - Git Stash Fails: index.lock Exists – Fix-Remove Large Files from Git History

Final checklist
- Confirm that the same symptom is gone after a restart or refresh.
- Keep the smallest working change and undo temporary diagnostic settings.