I had this
export EDITOR="bbedit -w"
and, as expected, Git opened bbedit.
But, it also said
Aborting commit due to empty commit message.
I found this:
git config --global core.editor "bbedit --wait --resume"
and put it here so it would be remembered.