Fix 'Windows Cannot Access Shared Folder' Credential Errors - Creating a Branch from Detached HEAD in Git-Pushing Git Detached HEAD to Remote

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