Fix VS Code Git Authentication Failed with Two-Factor Auth - npm Permission Denied: How to Fix Global Packages-Troubleshooting Git index.lock Permission Error

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