I am trying to enter the Git commit message in the editor which looks like Vi, but none of commands like :wq, Esc etc. are working. Whenever I try to mer
:wq
The (fundamental) line is a hint that this is some kind of Emacs: Fundamental mode is one of the Major Modes of Emacs.
(fundamental)
This is the documentation for the basic usage of Emacs: