Github Desktop includes its own version of Git, do the following if a standalone installation of Git is desired as well:
git config –global core.editor "'C:/Program Files/Sublime Text 3/subl.exe' -w"