Improve git commandline.
Fix hg color extension error messages.