I set my editor per an SO entry: How do I setup DiffMerge with msysgit / gitk?.
I'm wondering how to undo this because I want to switch back to the default editing program.
Depending on how you ran git config...
git config --unset core.editor
Or
git config --global --unset core.editor