Fix VS Code Git Authentication Failed Keychain Error - Fix Stubborn Git index.lock File Not Deleting-Resolving Git's Refusing to Merge Unrelated Histories

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.