Configure Atom as git Editor

In Atom open the command palette (Shift-Command-p) and enter command Install Shell Commands.

Configure Atom as git's editor.

git config --global core.editor "atom --new-window --wait"

Now when you do git commit it should open a new Atom window for you to enter your commit message.