git branch
the output of the branch will be displayed like the more command under Linux. You need to press Q again to exit
as shown in figure
version information
$ zsh --version
zsh 5.3 (x86_64-apple-darwin18.0)
$ git --version
git version 2.18.0
MACOS
this problem does not exist under bash, so solve it.
I have been depressed for a long time, and I still hope that the bosses will not hesitate to give us advice