git bash terminal weird characters

C++
 export TERM=cygwin
Source

Also in C++: