Add GIT_EDITOR environment and core.editor configuration variables