At work I’m using git [git version 2.15.0.windows.1] + cgywin , some git commands like diff or log throw an exception and I got this message on the console [main] cygwin_exception::open_stackdumpfile: Dumping stack trace to less.exe.stackdump
To fix this error you have to change the value of $TERM to xterm, previously was screen (collateral damage? I don’t know yet xD)
export TERM=xterm