Here's a short, fun shell function (tested in zsh and bash) that will run your last git command and figure out what you meant to do and then run it for you.
https://gist.github.com/papaben/463d72bb4ea329754566fa82ef0c949e
Parity with auto-correct
$ git dif
git: 'dfif' is not a git command. See 'git --help'.
Did you mean this?
diff
> idid !!
<shows diff>
Choose non-default auto-correct suggestion
$ git pu
git: 'pu' is not a git command. See 'git --help'.
Did you mean one of these?
pull
push
p4
$ idid -2 !!
<runs git push>