In Debian Linux v. 9 I use following command to do files comparison and this command is working OK:
git difftool /file/a /file/b
In Debian Linux v. 10 I use this command in the same way and have following error:
fatal: not a git repository (or any of the parent directories): .git
Help me, please, resolve it.
PS: I don't use any git-repositories in the work, just only difftool from git.
You need
gitversion 2.22.0 or higher. In 2.22.0git difftoolcan run outside a repository. See https://github.com/git/git/blob/master/Documentation/RelNotes/2.22.0.txt