Better git prompt info implementation.