Install elpa-gitconfig-mode by entering the following commands in the terminal:
sudo apt update sudo apt install elpa-gitconfig-mode
Description:
major mode for editing Git configuration files (gitconfig and gitmodules)
This package provides major mode for editing `.gitconfig', `.git/config', `git/config', and `.gitmodules' Git configuration files. . `gitconfig-mode' derives from `conf-unix-mode'.
Homepage: https://github.com/magit/git-modes
Version: 1.2.6-1
Section: universe/lisp