It's rare that my stale prompt has a "git" in it.
Most of my git commands have mnemonic aliases like "gs", "gd", "gl".
I usually have the problem where a stale "ls" or "vim" inhabits the prompt.
[alias]
really = !exec git
This solves the common situation where you could’ve sworn you pushed your worl, but colleague can’t find it regardless. You can then `git really push` to be sure.I think of this every time I write git git status