How to configure git to use nano as editor?
To configure git start with the “git config” command. Then use the –global flag to make it persistent for the current user.
The full command with the editor option is …
git config --global core.editor "nano"
To see your config settings …
git config --list