Force Terminal to Use Gedit for any Text Editing - not vim
You should edit your git configuration file regarding which editor to use.
As noted here How do I make git use the editor of my choice for commits?
From man git-commit:
ENVIRONMENT AND CONFIGURATION VARIABLES
The editor used to edit the commit log message will be chosen from the GIT_EDITOR environment variable, the core.editor configuration variable, the VISUAL environment variable, or the EDITOR environment variable (in that order).