How to Fix Git index.lock File Exists Error on Mac - Resolve npm Build Failure with Exit Code 1-VS Code Source Control Not Showing Changes

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