Escape ANSI code in prompting for git branch info