This turns out to be surprisingly difficult. /c/Program\ Files/Notepad++/notepad++.exe
executes fine from Git bash, but doesn't seem to work with git config core.editor
.
However, you can create a Bash alias for Notepad++ and use that as your core.editor
. See this answer for details.