Changing the Git editor to Notepad++
March 5, 2022
6:13 PM
Fortunately, it’s not that difficult to change the default Git editor to a text editor of your choosing, be it Notepad, EditPad or my personal favorite, Notepad++.  All you have to do is issue a git config command and specify the core editor of your choice. The config command to change the default Git editor to Notepad++ is as follows:

gitbeginner@devopsMINGW32/c/ change git/ default editor$ git config --global core.editor "'C:/Program [file]' -multiInst -notabbar -nosession -noPlugin"
From <[link]> 