Change prompt to use conditional for git prompt.