First install Brew which is a tool for installing software on your mac
brew install nano
sudo apt-get install nano
git config --global core.editor "nano"
previous
next