Make git_prompt only use one git call