Git-prompt condition.