There seems to be a common pattern of several snaps requiring access to gitconfig. At the moment we’re allowing the use of
personal-files to grant this access. This means that each snap needs to define the same boilerplate for their snap that others have used. We could convert this boilerplate into a new
gitconfig interface to reduce the repeated and error-prone copy+pasta.
The plug definition that is common among these snaps is:
plugs: gitconfig: interface: personal-files read: - $HOME/.gitconfig - $HOME/.config/git/config