Set the default diff tool to meld

git difftool

  • Show file changes using external diff tools. Accepts the same options and arguments as `git diff`.
    See also: `git diff`.
    More information: <https://git-scm.com/docs/git-difftool>.
  • Trick copyright: tl;dr; <https://github.com/tldr-pages/tldr>

git config --global diff.tool "{{meld}}"

click the source code to copy install git difftool on any operating system with command-not-found.com