git autocorrect

C++
git config --global help.autocorrect 20
Source

Also in C++: