git config --global core.editor "'C:/path/to/executable' -parameters"
Search Git Commands | More How Tos