Variable: magit-remote-git-executable

magit-remote-git-executable is a customizable variable defined in magit-git.el.

Value

"git"

Documentation

The Git executable used by Magit on remote machines.

On the local host magit-git-executable(var)/magit-git-executable(fun) is used instead. Consider customizing tramp-remote-path instead of this option.

This variable was added, or its default value changed, in magit version 3.2.0.

Source Code

;; Defined in ~/.emacs.d/elpa/magit-20260411.1452/magit-git.el
(defcustom magit-remote-git-executable "git"
  "The Git executable used by Magit on remote machines.
On the local host `magit-git-executable' is used instead.
Consider customizing `tramp-remote-path' instead of this
option."
  :package-version '(magit . "3.2.0")
  :group 'magit-process
  :type 'string)