If you like nano and miss it on windows, here is how you can make it work under git bash on Windows. First of all you need to download the compiled binaries (tar-zipped) from GNU nano site, e.g.:
Unpack it somewhere to a folder called nano. Move that folder to the user share folder under git bash, on my machine that would be:
Last thing to do is to create calling script, called simply nano (note: no extension!) and place it somewhere on your path e.g. ‘~/bin’ folder, with following content:
exec /usr/share/nano/nano.exe "$@"
Now restart git bash if it was running and try it out by simply typing nano.