Fix Docker Pull Access Denied in CI/CD Pipeline - Find Docker Desktop Engine Logs on Windows Mac Linux-Fix Detached HEAD in Git and Switch Branches

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