Automic VaultAutomic Vault

brew / 承認ゲート

git を Homebrew, apk, chocolatey, apt, dnf, MacPorts, Nix, pacman, zypper, scoop, winget でインストール

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

local Homebrew formula metadata

MacPorts確認済み · 94%
sudo port install git

MacPorts ports tree · devel/git/Portfile · ソース: api.github.com

Linux

Alpine Linux apk確認済み · 92%
sudo apk add git

Alpine Linux edge package indexes · git · ソース: dl-cdn.alpinelinux.org

Debian apt確認済み · 92%
sudo apt install git

Debian stable package indexes · git · ソース: deb.debian.org

Fedora dnf確認済み · 92%
sudo dnf install git

Fedora Rawhide package metadata · git · ソース: dl.fedoraproject.org

Nix確認済み · 92%
nix profile install nixpkgs#git

nixpkgs package indexes · pkgs/by-name/gi/git/package.nix · ソース: api.github.com

Arch Linux pacman確認済み · 92%
sudo pacman -S git

Arch Linux sync databases · git · ソース: geo.mirror.pkgbuild.com

openSUSE zypper確認済み · 92%
sudo zypper install git

openSUSE Tumbleweed package metadata · git · ソース: download.opensuse.org

Windows

Chocolatey確認済み · 92%
choco install git

Chocolatey community package catalog · git · ソース: community.chocolatey.org

Scoop確認済み · 92%
scoop install main/git

Scoop official bucket manifest trees · bucket/git.json · ソース: api.github.com

Windows Package Manager確認済み · 92%
winget install --id DuckStudio.ChineseGit -e

Windows Package Manager source index · DuckStudio.ChineseGit · ソース: cdn.winget.microsoft.com

概要

パッケージ概要

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

実行可能ファイル

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

コマンド種類公開範囲メモ
gitcliグローバル実行可能ファイル
git-cvsservercliグローバル実行可能ファイル
git-receive-packcliグローバル実行可能ファイル
git-shellcliグローバル実行可能ファイル
git-upload-archivecliグローバル実行可能ファイル
git-upload-packcliグローバル実行可能ファイル
scalarcliグローバル実行可能ファイル

鮮度

バージョンと鮮度

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

ページ生成日2026-07-10
マネージャ版2.55.0
マネージャ更新日2026-06-29
ローカルデータOK
上流not checked
検出された最新未検出

https://git-scm.com

  • 情報Release/tag comparison is only available for GitHub repositories.https://git-scm.com信頼度 none

インストールメタデータ

パッケージメタデータ

パッケージキーbrew:git
バージョン2.55.0
パッケージマネージャHomebrew
パッケージマネージャページhttps://formulae.brew.sh/formula/git
ホームページhttps://git-scm.com
リポジトリhttps://git.kernel.org/pub/scm/git/git.git
上流ドキュメントhttps://git-scm.com/doc
ライセンスGPL-2.0-only AND GPL-2.0-or-later AND LGPL-2.1-or-later AND BSD-3-Clause AND MIT
ソースアーカイブhttps://mirrors.edge.kernel.org/pub/software/scm/git/git-2.55.0.tar.xz
最終更新2026-06-29T20:54:53Z
Pulseupdated
依存関係gettext, pcre2
ビルド依存関係gettext, pkgconf
macOS 提供ライブラリcurl, expat
Bottle利用可能 (対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定義
サービス宣言なし
注意点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.

レジストリ情報

ソースデータベース詳細

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namegit
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

ソースデータベース一致

他のパッケージマネージャ記録

一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。

Debian apt95%

git 1:2.47.3-0+deb13u1

fast, scalable, distributed revision control system

https://git-scm.com/

sudo apt install git
  • Section: vcs
  • Architecture: amd64
  • 8 依存関係
  • 2 提供
  • 13 任意依存関係
  • normalized package name match
  • 一致条件: Git
Debian stable package indexes · deb.debian.org · Debian stable package indexes: git from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

git-all 1:2.47.3-0+deb13u1

fast, scalable, distributed revision control system (all subpackages)

https://git-scm.com/

sudo apt install git-all
  • Section: vcs
  • Architecture: all
  • Source Package: git
  • 9 依存関係
  • normalized package name match
  • 一致条件: Git
Debian stable package indexes · deb.debian.org · Debian stable package indexes: git-all from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

git-cvs 1:2.47.3-0+deb13u1

fast, scalable, distributed revision control system (cvs interoperability)

https://git-scm.com/

sudo apt install git-cvs
  • Section: vcs
  • Architecture: all
  • Source Package: git
  • 3 依存関係
  • 2 任意依存関係
  • normalized package name match
  • 一致条件: Git
Debian stable package indexes · deb.debian.org · Debian stable package indexes: git-cvs from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

git-doc 1:2.47.3-0+deb13u1

fast, scalable, distributed revision control system (documentation)

https://git-scm.com/

sudo apt install git-doc
  • Section: doc
  • Architecture: all
  • Source Package: git
  • 6 任意依存関係
  • normalized package name match
  • 一致条件: Git
Debian stable package indexes · deb.debian.org · Debian stable package indexes: git-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

git-email 1:2.47.3-0+deb13u1

fast, scalable, distributed revision control system (email add-on)

https://git-scm.com/

sudo apt install git-email
  • Section: vcs
  • Architecture: all
  • Source Package: git
  • 1 依存関係
  • 7 任意依存関係
  • normalized package name match
  • 一致条件: Git
Debian stable package indexes · deb.debian.org · Debian stable package indexes: git-email from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

git-gui 1:2.47.3-0+deb13u1

fast, scalable, distributed revision control system (GUI)

https://git-scm.com/

sudo apt install git-gui
  • Section: vcs
  • Architecture: all
  • Source Package: git
  • 2 依存関係
  • 4 任意依存関係
  • normalized package name match
  • 一致条件: Git
Debian stable package indexes · deb.debian.org · Debian stable package indexes: git-gui from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

git-man 1:2.47.3-0+deb13u1

fast, scalable, distributed revision control system (manual pages)

https://git-scm.com/

sudo apt install git-man
  • Section: doc
  • Architecture: all
  • Source Package: git
  • normalized package name match
  • 一致条件: Git
Debian stable package indexes · deb.debian.org · Debian stable package indexes: git-man from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

git-mediawiki 1:2.47.3-0+deb13u1

fast, scalable, distributed revision control system (MediaWiki remote helper)

https://git-scm.com/

sudo apt install git-mediawiki
  • Section: vcs
  • Architecture: all
  • Source Package: git
  • 4 依存関係
  • 1 任意依存関係
  • normalized package name match
  • 一致条件: Git
Debian stable package indexes · deb.debian.org · Debian stable package indexes: git-mediawiki from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

git-svn 1:2.47.3-0+deb13u1

fast, scalable, distributed revision control system (svn interoperability)

https://git-scm.com/

sudo apt install git-svn
  • Section: vcs
  • Architecture: all
  • Source Package: git
  • 4 依存関係
  • 2 任意依存関係
  • normalized package name match
  • 一致条件: Git
Debian stable package indexes · deb.debian.org · Debian stable package indexes: git-svn from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

gitk 1:2.47.3-0+deb13u1

fast, scalable, distributed revision control system (revision tree visualizer)

https://git-scm.com/

sudo apt install gitk
  • Section: vcs
  • Architecture: all
  • Source Package: git
  • 2 依存関係
  • 1 任意依存関係
  • normalized package name match
  • 一致条件: Git
Debian stable package indexes · deb.debian.org · Debian stable package indexes: gitk from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

gitweb 1:2.47.3-0+deb13u1

fast, scalable, distributed revision control system (web interface)

https://git-scm.com/

sudo apt install gitweb
  • Section: vcs
  • Architecture: all
  • Source Package: git
  • 3 依存関係
  • 8 任意依存関係
  • normalized package name match
  • 一致条件: Git
Debian stable package indexes · deb.debian.org · Debian stable package indexes: gitweb from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

git

nix profile install nixpkgs#git
  • normalized package name match
  • 一致条件: Git
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/gi/git/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

git 1:2.43.0-1ubuntu7

fast, scalable, distributed revision control system

https://git-scm.com/

sudo apt install git
  • Section: vcs
  • Architecture: amd64
  • 8 依存関係
  • 2 提供
  • 15 任意依存関係
  • normalized package name match
  • 一致条件: Git
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: git from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

git-all 1:2.43.0-1ubuntu7

fast, scalable, distributed revision control system (all subpackages)

https://git-scm.com/

sudo apt install git-all
  • Section: universe/vcs
  • Architecture: all
  • Source Package: git
  • 9 依存関係
  • 2 任意依存関係
  • normalized package name match
  • 一致条件: Git
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: git-all from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

git-cvs 1:2.43.0-1ubuntu7

fast, scalable, distributed revision control system (cvs interoperability)

https://git-scm.com/

sudo apt install git-cvs
  • Section: universe/devel
  • Architecture: all
  • Source Package: git
  • 3 依存関係
  • 2 任意依存関係
  • normalized package name match
  • 一致条件: Git
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: git-cvs from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

git-daemon-run 1:2.43.0-1ubuntu7

fast, scalable, distributed revision control system (git-daemon service)

https://git-scm.com/

sudo apt install git-daemon-run
  • Section: universe/devel
  • Architecture: all
  • Source Package: git
  • 3 依存関係
  • normalized package name match
  • 一致条件: Git
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: git-daemon-run from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz

ソース経路

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

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

使用ソース

  • Geiger risk classifier
  • Nucleus package database
  • approval-gate seed metadata
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated agent safety answer
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment