refactor: better debug output

```
coworker$ git checkout main
Already on 'main'
Your branch is up-to-date with 'origin/main'.


local$ git rev-parse --abbrev-ref HEAD
feature
```
We should not expect that output contains error messages. That's what the error stream is for.