Detect typechanges in git prompt