pkg.sopackage field notes

brew / 承認ゲート / 順位 33

git を Homebrew でインストール

git のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

エージェント安全性

エージェント安全性の回答

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.

インストール

追加のインストールコマンド

macOS

Homebrew確認済み · 100%
brew install git

provider-native install command

概要

パッケージ概要

Distributed revision control system

コマンドとエイリアス

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

履歴

プロジェクトの歴史と使われ方

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.

タイムライン

  • 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.

承認ゲート

危険なコマンドの人手レビュー用メタデータ

ローカルの承認ゲートシードには git 用のルールが 6 件含まれます。対象エントリポイント: git。重大度ラベル: 重大, 高, 中。カバレッジ: partial、レビュー日: 2026-05-21。

ゲート対象アクション例

  • 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

実行可能ファイル

インストールされる実行可能ファイル

コマンド種類公開範囲メモ
git実行可能ファイルインデックス済み実行可能ファイルローカル実行可能ファイルインデックスから検出されました。
git-cvsserver実行可能ファイルインデックス済み実行可能ファイルローカル実行可能ファイルインデックスから検出されました。
git-receive-pack実行可能ファイルインデックス済み実行可能ファイルローカル実行可能ファイルインデックスから検出されました。
git-shell実行可能ファイルインデックス済み実行可能ファイルローカル実行可能ファイルインデックスから検出されました。
git-upload-archive実行可能ファイルインデックス済み実行可能ファイルローカル実行可能ファイルインデックスから検出されました。
git-upload-pack実行可能ファイルインデックス済み実行可能ファイルローカル実行可能ファイルインデックスから検出されました。
scalar実行可能ファイルインデックス済み実行可能ファイルローカル実行可能ファイルインデックスから検出されました。

鮮度

バージョンと鮮度

これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。

ページ生成日2026-08-03
マネージャ版2.55.0
マネージャ更新日2026-06-29
ローカルデータ不明
上流利用不可
検出された最新未検出
  • OK鮮度警告は生成されていません。

インストールメタデータ

パッケージメタデータ

パッケージキーbrew:git
バージョン2.55.0
パッケージマネージャHomebrew
ホームページhttps://git-scm.com
リポジトリhttps://github.com/git/git
最終更新2026-06-29T20:54:53Z
Pulseupdated
Bottle未記録
サービス宣言なし

ソース経路

リポジトリデータから生成

このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。

使用ソース

  • 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