allow making git-in-prompt decisions dynamically