make atom default editor in git

C++
$ git config --global core.editor "atom --wait"
Source

Also in C++: