Understanding and Fixing Git Detached HEAD State - Windows Update 0x80070005: Permission Fix Guide-Fix VS Code Source Control Not Detecting Changes in Subfolder

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.