pkg.sopackage field notes

brew / portes d'approbation / rang 33

Installer git avec Homebrew

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de git pour les workflows d'agents IA.

sécurité des agents

Réponse sur la sécurité des agents

git can read repository history and mutate source-control state used by agents and humans.

Accès aux identifiants

Reads credential helpers, remotes, config, signed keys, and repository-local secret history.

Modification distante

Can push commits, tags, branches, and force updates to remote repositories.

Risque de publication ou d'artéfact

Can publish source changes and release tags that downstream systems consume.

Contrôle recommandé

Gate pushes, tag creation, credential fill, and remote rewrites.

Conseils d'utilisation par les agents

Allow diff/status/log reads; require approval for pushes, credential-helper reads, and destructive history changes.

installation

Commandes d'installation supplémentaires

macOS

Homebrewvérifié · 100%
brew install git

provider-native install command

aperçu

Résumé du paquet

Distributed revision control system

Commandes et alias

  • git
  • git-cvsserver
  • git-receive-pack
  • git-shell
  • git-upload-archive
  • git-upload-pack
  • scalar

historique

Historique du projet et usages

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.

Historique du projet

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.

Historique d'adoption

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.

Modes d'utilisation

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.

Pourquoi les passionnés de paquets s'y intéressent

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.

Chronologie

  • 2005: Git was created for Linux kernel development after the BitKeeper transition.
  • 2005: Early Git releases established the distributed repository model.
  • 2010s: Hosted Git forges and pull-request workflows made Git the dominant version-control system for many developer communities.
  • 2020s: Git remained a base dependency for package managers, CI, source archives, and developer tools.

Related projects

  • Linux kernel development drove Git's original requirements.
  • GitHub, GitLab, Gitea, Forgejo, and other forges build hosted collaboration around Git repositories.
  • Git LFS and Git Xet extend Git workflows for large-file storage.
  • Scalar, included with Git packages, targets very large repository workflows.

portes d'approbation

Métadonnées de revue humaine pour commandes risquées

La graine locale de portes d'approbation contient 6 règles pour git. Points d'entrée couverts : git. Niveaux de sévérité : critique, élevé, moyen. Couverture : partial, revu le 2026-05-21.

Exemples d'actions contrôlées

  • Push commits, tags, or refs to a remote repository.
  • Force-push or delete remote refs.
  • Reset local worktree and index destructively.
  • Delete untracked files from the worktree.
  • Read, approve, reject, or fill credentials through Git credential helpers.
  • Change credential helper configuration.

local files

Configuration and credential file locations

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 files

Credential-bearing paths to review before unattended agent runs.

Unix
~/.git-credentials

exécutables

Exécutables installés

CommandeTypeExpositionNote
gitexécutableexécutable indexéDécouvert depuis l'index local des exécutables.
git-cvsserverexécutableexécutable indexéDécouvert depuis l'index local des exécutables.
git-receive-packexécutableexécutable indexéDécouvert depuis l'index local des exécutables.
git-shellexécutableexécutable indexéDécouvert depuis l'index local des exécutables.
git-upload-archiveexécutableexécutable indexéDécouvert depuis l'index local des exécutables.
git-upload-packexécutableexécutable indexéDécouvert depuis l'index local des exécutables.
scalarexécutableexécutable indexéDécouvert depuis l'index local des exécutables.

fraîcheur

Version et fraîcheur

Ces signaux séparent l'âge de génération de la page, l'activité du gestionnaire de paquets et la comparaison avec les versions amont. Un retard de version n'est signalé que lorsqu'une URL de preuve et des versions comparables sont présentes.

page générée2026-08-03
version du gestionnaire2.55.0
gestionnaire mis à jour2026-06-29
données localesinconnu
amontnon disponible
dernière version détectéenon détecté
  • OKAucun avertissement de fraîcheur n'a été généré.

métadonnées d'installation

Métadonnées du paquet

Clé du paquetbrew:git
Version2.55.0
Gestionnaire de paquetsHomebrew
Page d'accueilhttps://git-scm.com
Dépôthttps://github.com/git/git
Dernière mise à jour2026-06-29T20:54:53Z
Pulseupdated
Bouteillenon enregistré
Serviceaucun déclaré

piste source

Généré depuis les données du dépôt

Cette page est servie par av-web depuis l'artéfact SQLite privé des paquets généré par scripts/generate-pkg-sqlite.py.

Sources utilisées

  • Geiger risk classifier
  • Nucleus package database
  • approval-gate seed metadata
  • curated agent safety answer
  • curated configuration and credential file locations
  • curated package history
  • pkgdb category and tag curation