change core editor git code example
Example 1: set git editor
$ git config --global core.editor vim
Example 2: how to set up git user
$ git config --global user.name "Mona Lisa"
$ git config --global core.editor vim
$ git config --global user.name "Mona Lisa"