magit doesn't use libgit for remote directory. Maybe there're other reasons that make your magit work on remote file :P. https://github.com/magit/magit/blob/master/lisp/magit-git.el#L93 Maxime Devos writes: > [[PGP Signed Part:Undecided]] > Zhu Zihao schreef op di 17-05-2022 om 23:14 [+0800]: >> magit will still work with the git executable if there's no >> emacs-libgit. >> >> Any thoughts? > > Due to issues with TRAMP, magit currently cannot always find the git > executable, while AFAICT there are no problems with emacs-libgit. > > Greetings, > Maxime. > > [[End of PGP Signed Part]] -- Retrieve my PGP public key: gpg --recv-keys D47A9C8B2AE3905B563D9135BE42B352A9F6821F Zihao