I am using oh-my-zsh and powerlevel10k on Mac and I observed a weird behavior when using git branch. Instead of like other commands, like git status which will list the result in current terminal.

However, git branch is like into an editor mode and I have to press q to exit the mode to get back to terminal.

Anyone knows how to fix it, i.e., let the git branch command to show results in current terminal instead of entering into an editor mode?