Variable: emacs-repository-branch
emacs-repository-branch is a variable defined in version.el.gz.
Value
nil
Documentation
String giving the repository branch from which this Emacs was built.
Value is nil if Emacs was not built from a repository checkout, or if we could not determine the branch.
Probably introduced at or before Emacs version 27.1.
Source Code
;; Defined in /usr/src/emacs/lisp/version.el.gz
(defvar emacs-repository-branch nil
"String giving the repository branch from which this Emacs was built.
Value is nil if Emacs was not built from a repository checkout,
or if we could not determine the branch.")