Credential-Zugriff
Reads credential helpers, remotes, config, signed keys, and repository-local secret history.
brew / Approval Gates
Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für git in AI-Agent-Workflows.
Agent-Sicherheit
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.
Installation
brew install gitlocal Homebrew formula metadata
sudo port install gitMacPorts ports tree · devel/git/Portfile · Quelle: api.github.com
sudo apk add gitAlpine Linux edge package indexes · git · Quelle: dl-cdn.alpinelinux.org
sudo apt install gitDebian stable package indexes · git · Quelle: deb.debian.org
sudo dnf install gitFedora Rawhide package metadata · git · Quelle: dl.fedoraproject.org
nix profile install nixpkgs#gitnixpkgs package indexes · pkgs/by-name/gi/git/package.nix · Quelle: api.github.com
sudo pacman -S gitArch Linux sync databases · git · Quelle: geo.mirror.pkgbuild.com
sudo zypper install gitopenSUSE Tumbleweed package metadata · git · Quelle: download.opensuse.org
choco install gitChocolatey community package catalog · git · Quelle: community.chocolatey.org
scoop install main/gitScoop official bucket manifest trees · bucket/git.json · Quelle: api.github.com
winget install --id DuckStudio.ChineseGit -eWindows Package Manager source index · DuckStudio.ChineseGit · Quelle: cdn.winget.microsoft.com
Überblick
Distributed revision control system
Verlauf
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
Der lokale Approval-Gate-Seed enthält 6 Regeln für git. Abgedeckte Einstiegspunkte: git. Schweregrade: kritisch, hoch, mittel. Abdeckung: partial, geprüft am 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
| Befehl | Art | Sichtbarkeit | Hinweis |
|---|---|---|---|
git | cli | globales Executable | |
git-cvsserver | cli | globales Executable | |
git-receive-pack | cli | globales Executable | |
git-shell | cli | globales Executable | |
git-upload-archive | cli | globales Executable | |
git-upload-pack | cli | globales Executable | |
scalar | cli | globales Executable |
Aktualität
Diese Signale trennen das Alter der Seitengenerierung, Aktivität des Paketmanagers und Upstream-Release-Vergleich. Versionsrückstand wird nur gemeldet, wenn eine Evidenz-URL und vergleichbare Versionen vorhanden sind.
Installationsmetadaten
| Paketschlüssel | brew:git |
|---|---|
| Version | 2.55.0 |
| Paketmanager | Homebrew |
| Paketmanager-Seite | https://formulae.brew.sh/formula/git |
| Homepage | https://git-scm.com |
| Repository | https://git.kernel.org/pub/scm/git/git.git |
| Upstream-Dokumentation | https://git-scm.com/doc |
| Lizenz | GPL-2.0-only AND GPL-2.0-or-later AND LGPL-2.1-or-later AND BSD-3-Clause AND MIT |
| Quellarchiv | https://mirrors.edge.kernel.org/pub/software/scm/git/git-2.55.0.tar.xz |
| Zuletzt aktualisiert | 2026-06-29T20:54:53Z |
| Pulse | updated |
| Abhängigkeiten | gettext, pcre2 |
| Build-Abhängigkeiten | gettext, pkgconf |
| Von macOS bereitgestellte Bibliotheken | curl, expat |
| Bottle | verfügbar (auf arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | nicht definiert |
| Dienst | keiner deklariert |
| Einschränkungen | 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-Fakten
| 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-Datenbank-Treffer
Treffer stammen aus externen Paketmanager-Indizes und bleiben von lokalen Automic-Vault-Paketlinks getrennt.
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-runQuellspur
Diese Seite wird von av-web aus dem privaten Paket-SQLite-Artefakt bereitgestellt, das scripts/generate-pkg-sqlite.py erstellt.
View the package source record on GitHub.