Setting up Nano editor on your computer

For Mac

First install Brew which is a tool for installing software on your mac

brew install nano

Linux (Ubuntu)

sudo apt-get install nano

Configure Nano as the default editor for git

git config --global core.editor "nano"