how to fix "WARNING: terminal is not fully functional" error in command console? [duplicate]

Solution 1:

Q: How are you connecting to Git?

For example, if you're using Cygwin on Windows, try this:

TERM=msys

If you're on Linux (or connecting to a Linux server via putty), then try this:

export TERM=msys

If you're running from a Windows command prompt:

<Rclick>Computer, Properties, 
  [Advanced System Settings], [Advanced], [Environment Variables]
  Create a new System variable "TERM", value "msys"