Fix for gitBranch, because readline doesn't handle control chars properly