Fix VS Code Source Control Not Detecting Changes with Permission Denied - Git Detached HEAD: Practical Checklist and Fixes-Git LFS Configuration Guide

Likely symptom
Likely cause
Safe rollback
Verification route
- Repeat the original action, not only a simplified test case.
- Restart the app or reload the service after configuration changes.