I don't know why but the output from some git command are in editor (vim) and not directly to the terminal output.
For example, the command git branch
open vim and list the branches but I would like that the output are directly in the terminal.
I didn't set vim as default editor on the git config.
My config is Ubuntu 18.04 and zsh with oh-my-zsh plugin.