If you want git to correct typos you can set help.autocorrect:
$ git config --global help.autocorrect 30You set help.autocorrect to an integer representing the time you have to change your mind before git executes the command (1 = 0.1 seconds).
For example:
$ git comitWARNING: You called a git commandnamed 'comit', which does not exist.Continuing under the assumption thatyou meant 'commit'in 3 seconds automatically...