Using Git LFS Migrate on an Existing Repository - Fix Git 'index.lock' File Exists Error in IntelliJ-Permission Denied in VS Code Terminal for Node.js

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