I installed Gitbash in my Windows and defined the Linux command lines (ls to list directory for example) but the command line is returning strange characters.
For MingGW64 I found going into the Options > Terminal and switching from xterm (the default I presume) to xterm-256color fixed the issue. I also restarted the console.