Same issue when I try to open vi. bash is the shell I'm using. vi, or git commit, fails miserably saying "Unrecognized TERM Type".
I did some googling. They all suggests setting the TERM type manually like
export TERM=vt100
Tried and failed. stackoverflow is going to be my last hope. or maybe I should let go of cygwin/git and try something like TortoiseGit.
Any advices will be appreciated.