Fix Docker Build Context Canceled Timeout Errors - Recover Detached HEAD Commits and Merge to Master-VS Code Terminal Not Opening with SSH: Fixes

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