git Facts¶
See also: operations/git.
git.GitBranch¶
git.GitConfig¶
git.GitLocalCommit¶
Returns the SHA of ref (defaults to HEAD) in a local git repository,
or None when the repository does not exist, the ref is unknown, or the
command fails.
git.GitRemoteBranchCommit¶
Returns the SHA of the tip of branch on remote as reported by
git ls-remote. Returns None when the remote is unreachable, the
branch does not exist on the remote, or the repository is missing.