Credential access
Reads credential helpers, remotes, config, signed keys, and repository-local secret history.
brew / approval gates
Distributed revision control system. Version 2.55.0 via Homebrew; verified 2026-06-29.
agent safety
git can read repository history and mutate source-control state used by agents and humans.
Reads credential helpers, remotes, config, signed keys, and repository-local secret history.
Can push commits, tags, branches, and force updates to remote repositories.
Can publish source changes and release tags that downstream systems consume.
Gate pushes, tag creation, credential fill, and remote rewrites.
Allow diff/status/log reads; require approval for pushes, credential-helper reads, and destructive history changes.
install
brew install gitlocal Homebrew formula metadata
sudo port install gitMacPorts ports tree · devel/git/Portfile · source: api.github.com
sudo apk add gitAlpine Linux edge package indexes · git · source: dl-cdn.alpinelinux.org
sudo apt install gitDebian stable package indexes · git · source: deb.debian.org
sudo dnf install gitFedora Rawhide package metadata · git · source: dl.fedoraproject.org
nix profile install nixpkgs#gitnixpkgs package indexes · pkgs/by-name/gi/git/package.nix · source: api.github.com
sudo pacman -S gitArch Linux sync databases · git · source: geo.mirror.pkgbuild.com
sudo zypper install gitopenSUSE Tumbleweed package metadata · git · source: download.opensuse.org
choco install gitChocolatey community package catalog · git · source: community.chocolatey.org
scoop install main/gitScoop official bucket manifest trees · bucket/git.json · source: api.github.com
winget install --id DuckStudio.ChineseGit -eWindows Package Manager source index · DuckStudio.ChineseGit · source: cdn.winget.microsoft.com
overview
Distributed revision control system
history
Git is the distributed version-control system created for Linux kernel development and later generalized into the default source-control substrate for much of software development. Its command-line interface, repository format, protocol family, and ecosystem of hosting services define how many projects exchange code.
Git began in 2005 after the Linux kernel community lost access to the proprietary BitKeeper workflow it had been using. Linus Torvalds wrote the original implementation to support Linux-scale development, emphasizing speed, integrity, distributed operation, and cheap branching.
The design departed from centralized version-control systems by making every clone a full repository with local history and branch operations. That choice made offline work, fork-based development, and patch exchange natural rather than exceptional.
After its Linux origin, Git evolved into a broadly portable tool with a large manual set, porcelain commands for everyday work, and plumbing commands for scripts and higher-level tools. The kernel.org repository remains the canonical upstream source location, while git-scm.com provides the public documentation hub.
Git's adoption accelerated with distributed open source development and the rise of Git hosting services such as GitHub, GitLab, and related forges. The official Git site characterizes the core project as a command-line tool surrounded by hosting services, graphical clients, editor integrations, and other command-line helpers.
By the early 2010s, Git had moved from a Linux-kernel tool into the common denominator for open source collaboration, commercial software teams, CI systems, package ecosystems, and code review platforms. Its repository model also became the foundation for workflows outside source code, including documentation and data-adjacent projects.
Practitioners use Git to initialize or clone repositories, stage and commit changes, branch and merge work, inspect history, exchange commits through remotes, and recover earlier states. Its local-first model makes common commands fast because most history and metadata are on the developer's machine.
Teams layer policy on top of Git through protected branches, pull requests, signed commits, release tags, submodules, worktrees, hooks, and CI triggers. The same executable serves both interactive daily work and automation in release scripts, package recipes, deployment systems, and source archives.
Git is one of the central dependencies of package-manager culture. Formulae, ports, distro source packages, language registries, and build systems routinely fetch from Git repositories, pin commits or tags, generate source archives, and use Git metadata to derive versions.
Its significance also comes from its stability as an interchange format. Even tools that wrap Git, avoid the Git CLI, or store files elsewhere usually need to speak in Git concepts: commits, refs, remotes, branches, tags, diffs, and patches.
approval gates
The local approval-gate seed includes 6 rules for git. Covered entrypoints: git. Severity labels: critical, high, medium. Coverage: partial, reviewed 2026-05-21.
local files
These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.
Credential-bearing paths to review before unattended agent runs.
~/.git-credentialsexecutables
| Command | Kind | Exposure | Note |
|---|---|---|---|
git | cli | global executable | |
git-cvsserver | cli | global executable | |
git-receive-pack | cli | global executable | |
git-shell | cli | global executable | |
git-upload-archive | cli | global executable | |
git-upload-pack | cli | global executable | |
scalar | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
install metadata
| Package key | brew:git |
|---|---|
| Version | 2.55.0 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/git |
| Homepage | https://git-scm.com |
| Repository | https://git.kernel.org/pub/scm/git/git.git |
| Upstream docs | https://git-scm.com/doc |
| License | GPL-2.0-only AND GPL-2.0-or-later AND LGPL-2.1-or-later AND BSD-3-Clause AND MIT |
| Source archive | https://mirrors.edge.kernel.org/pub/software/scm/git/git-2.55.0.tar.xz |
| Last updated | 2026-06-29T20:54:53Z |
| Pulse | updated |
| Dependencies | gettext, pcre2 |
| Build dependencies | gettext, pkgconf |
| Uses from macOS | curl, expat |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
| Caveats | The Tcl/Tk GUIs (e.g. gitk, git-gui) are now in the `git-gui` formula. Subversion interoperability (git-svn) is now in the `git-svn` formula. |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | git |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
git 1:2.47.3-0+deb13u1
fast, scalable, distributed revision control system
sudo apt install gitgit-all 1:2.47.3-0+deb13u1
fast, scalable, distributed revision control system (all subpackages)
sudo apt install git-allgit-cvs 1:2.47.3-0+deb13u1
fast, scalable, distributed revision control system (cvs interoperability)
sudo apt install git-cvsgit-doc 1:2.47.3-0+deb13u1
fast, scalable, distributed revision control system (documentation)
sudo apt install git-docgit-email 1:2.47.3-0+deb13u1
fast, scalable, distributed revision control system (email add-on)
sudo apt install git-emailgit-gui 1:2.47.3-0+deb13u1
fast, scalable, distributed revision control system (GUI)
sudo apt install git-guigit-man 1:2.47.3-0+deb13u1
fast, scalable, distributed revision control system (manual pages)
sudo apt install git-mangit-mediawiki 1:2.47.3-0+deb13u1
fast, scalable, distributed revision control system (MediaWiki remote helper)
sudo apt install git-mediawikigit-svn 1:2.47.3-0+deb13u1
fast, scalable, distributed revision control system (svn interoperability)
sudo apt install git-svngitk 1:2.47.3-0+deb13u1
fast, scalable, distributed revision control system (revision tree visualizer)
sudo apt install gitkgitweb 1:2.47.3-0+deb13u1
fast, scalable, distributed revision control system (web interface)
sudo apt install gitwebgit
nix profile install nixpkgs#gitgit 1:2.43.0-1ubuntu7
fast, scalable, distributed revision control system
sudo apt install gitgit-all 1:2.43.0-1ubuntu7
fast, scalable, distributed revision control system (all subpackages)
sudo apt install git-allgit-cvs 1:2.43.0-1ubuntu7
fast, scalable, distributed revision control system (cvs interoperability)
sudo apt install git-cvsgit-daemon-run 1:2.43.0-1ubuntu7
fast, scalable, distributed revision control system (git-daemon service)
sudo apt install git-daemon-runsource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.