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