Install elpa-git-commit by entering the following commands in the terminal:
sudo apt update sudo apt install elpa-git-commit
Description:
Major mode for editing git commit message
A mode for editing COMMIT_MSG file from git in Emacs.
Homepage: http://magit.vc/
Version: 2.11.0-1
Section: universe/vcs