Git branch command behaves like ‘less’

As mentioned in comments to Mark Adelsberger’s answer, this was a default behavior change introduced in Git 2.16.

You can turn paged output for git branch back off by default with the pager.branch config setting:

git config --global pager.branch false

Leave a Comment