title: Setting TERM environment variable in Windows Powershell that works with ssh+Bash and locally with Git?
body: <p><strong>Background:</strong></p>
  
  <p>When using my Windows version of git in Powershell I found that I got the error "terminal is not fully functional" so I used the second solution posted <a href="https://stackoverflow.com/questions/7949956/why-does-git-diff-on-windows-warn-that-the-terminal-is-not-fully-functional">here</a> (i.e. change TERM to msys) to fix the problem.</p>
  
  <p>However, this caused a secondary problem that when SSH'd into my Vagrant box, command line apps like Vim, Nano and even Clear would not run, producing errors "msys: unknown terminal type."</p>
  
  <p>I then attempted to change TERM to "ansi" and I got better results during ssh, in that the apps would run fine, but there are still formatting errors.</p>
  
  <p><strong>Question:</strong></p>
  
  <p>Is there a setting for TERM in windows environment variables that will work properly for both my Windows copy of Git and the Vagrant VM Bash shell via SSH?</p>