Use PROMPT_COMMAND instead of PS1 to enable git colors.