Automic VaultAutomic Vault

brew

Install git-lfs with Homebrew, apk, chocolatey, apt, dnf, MacPorts, Nix, pacman, scoop, winget, zypper

Git extension for versioning large files. Version 3.7.1 via Homebrew; verified from local package data.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install git-lfs

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install git-lfs

MacPorts ports tree · devel/git-lfs/Portfile · source: api.github.com

Linux

Alpine Linux apkverified · 92%
sudo apk add git-lfs

Alpine Linux edge package indexes · git-lfs · source: dl-cdn.alpinelinux.org

Debian aptverified · 92%
sudo apt install git-lfs

Debian stable package indexes · git-lfs · source: deb.debian.org

Fedora dnfverified · 92%
sudo dnf install git-lfs

Fedora Rawhide package metadata · git-lfs · source: dl.fedoraproject.org

Nixverified · 92%
nix profile install nixpkgs#git-lfs

nixpkgs package indexes · pkgs/by-name/gi/git-lfs/package.nix · source: api.github.com

Arch Linux pacmanverified · 92%
sudo pacman -S git-lfs

Arch Linux sync databases · git-lfs · source: geo.mirror.pkgbuild.com

openSUSE zypperverified · 92%
sudo zypper install git-lfs

openSUSE Tumbleweed package metadata · git-lfs · source: download.opensuse.org

Windows

Chocolateyverified · 92%
choco install git-lfs

Chocolatey community package catalog · git-lfs · source: community.chocolatey.org

Scoopverified · 92%
scoop install main/git-lfs

Scoop official bucket manifest trees · bucket/git-lfs.json · source: api.github.com

Windows Package Managerverified · 92%
winget install --id GitHub.GitLFS -e

Windows Package Manager source index · GitHub.GitLFS · source: cdn.winget.microsoft.com

overview

Package summary

Git extension for versioning large files

Commands and aliases

  • git-lfs

history

Project history and usage

Git LFS is the reference command-line implementation and specification for storing large file contents outside ordinary Git blobs while keeping small pointer files in the repository. It became one of the standard answers for repositories that need to version art assets, datasets, media, archives, and other large binaries without making every clone carry every large object as normal Git history.

Project history

The public git-lfs repository was created in 2013, and the changelog records v0.5.0 in April 2015 as the initial public release. The official specification preserves a clue from the pre-release era by documenting legacy pointer files that used a `hawser.github.com` version URL before the `git-lfs.github.com/spec/v1` pointer URL.

Git LFS reached v1.0.0 in October 2015. Before that milestone, v0.6.0 switched the client to the Batch API by default while retaining fallback to the legacy API. The 2.x line later removed old APIs and added features such as `git lfs migrate`, which rewrites history to convert large Git blobs into LFS objects.

Adoption history

Git LFS matters because it is both a Git extension and a protocol/specification surface. The README describes pre-built binaries for macOS, Windows, Linux, and FreeBSD, Homebrew installation, Debian and RPM packages, Chocolatey installation, and inclusion in Git for Windows. That distribution footprint helped make LFS available to designers, game teams, data projects, and software teams using hosted Git services.

The project also has a maintainer model around a core team and alumni, public releases with signed hashes, official command documentation, an FAQ, and implementation notes. Those are signs of infrastructure-level Git tooling rather than a one-off helper script.

How it is used

Practitioners run `git lfs install` once to configure clean and smudge filters, use `git lfs track` to add patterns to `.gitattributes`, commit that attributes file, and then add and push files as usual. Git LFS writes pointer files into Git and stores object contents under the LFS object store, uploading LFS objects before the Git push completes.

`git lfs migrate` is used when large files already exist in history and need to be moved into LFS, with the usual history-rewrite consequences. Operators also use `git lfs env`, tracing, signed release verification, and the command manpages when debugging installs or server interactions.

Why package nerds care

Git LFS is package-nerd significant because it is a CLI, a Git filter integration, and a wire-format specification in one package. It shows how a package can become part of the developer-tooling substrate: package managers distribute the binary, Git invokes it through filters and hooks, and hosting platforms implement the matching storage API.

Timeline

  • 2013: Public GitHub repository created.
  • 2015: v0.5.0 marked the initial public release.
  • 2015: v0.6.0 used the Batch API by default.
  • 2015: v1.0.0 released.
  • 2017: v2.0.0 removed legacy APIs.
  • 2017: v2.2.0 added `git lfs migrate`.

Related projects

  • Git LFS relates to Git attributes, clean and smudge filters, Git for Windows, and hosted Git LFS server implementations. Its problem space overlaps with artifact repositories and data-versioning tools, but its distinctive feature is that ordinary Git commits retain pointer files while large object transfer is handled out of band.

security posture

Risk level: green

narrow executable package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • narrow executable package without higher-risk signals

Signals

  • metadata:no-higher-risk-signals

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Build metadata lists 2 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

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.

Configuration files

Config paths the tool may read or write during local use.

Unix
.lfsconfig.gitattributes.git/config~/.gitconfig/etc/gitconfig

executables

Installed executables

CommandKindExposureNote
git-lfscliglobal executable

freshness

Version and 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.

page generated2026-07-08
manager version3.7.1
manager updated
local dataok
upstreamnot checked
latest detectednot detected

https://github.com/git-lfs/git-lfs

  • infoNo package-manager update timestamp was available.low confidence
  • infoNo cached GitHub release or tag data was available.https://github.com/git-lfs/git-lfsnone confidence

install metadata

Package metadata

Package keybrew:git-lfs
Version3.7.1
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/git-lfs
Homepagehttps://git-lfs.com/
Repositoryhttps://github.com/git-lfs/git-lfs
Upstream docshttps://git-lfs.com/
LicenseMIT
Source archivehttps://github.com/git-lfs/git-lfs/releases/download/v3.7.1/git-lfs-v3.7.1.tar.gz
Build dependenciesasciidoctor, go
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared
CaveatsUpdate your git config to finish installation: # Update global git config $ git lfs install # Update system git config $ git lfs install --system

registry facts

Source database details

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

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Debian apt95%

git-lfs 3.6.1-1+deb13u1

Git Large File Support

https://git-lfs.github.com/

sudo apt install git-lfs
  • Section: vcs
  • Architecture: amd64
  • 2 dependencies
  • normalized package name match
  • Matched by: Git Lfs
Debian stable package indexes · deb.debian.org · Debian stable package indexes: git-lfs from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

golang-github-git-lfs-git-lfs-dev 3.6.1-1+deb13u1

Git Large File Support (library)

https://git-lfs.github.com/

sudo apt install golang-github-git-lfs-git-lfs-dev
  • Section: golang
  • Architecture: all
  • Source Package: git-lfs
  • 15 dependencies
  • normalized package name match
  • Matched by: Git Lfs
Debian stable package indexes · deb.debian.org · Debian stable package indexes: golang-github-git-lfs-git-lfs-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

git-lfs

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

git-lfs 3.4.1-1

Git Large File Support

https://git-lfs.github.com/

sudo apt install git-lfs
  • Section: universe/vcs
  • Architecture: amd64
  • 2 dependencies
  • normalized package name match
  • Matched by: Git Lfs
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: git-lfs from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

golang-github-git-lfs-git-lfs-dev 3.4.1-1

Git Large File Support (library)

https://git-lfs.github.com/

sudo apt install golang-github-git-lfs-git-lfs-dev
  • Section: universe/vcs
  • Architecture: all
  • Source Package: git-lfs
  • 14 dependencies
  • normalized package name match
  • Matched by: Git Lfs
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: golang-github-git-lfs-git-lfs-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

git-lfs 3.7.1-r0

Git extension for versioning large files

https://git-lfs.github.io/

sudo apk add git-lfs
  • License: MIT
  • Architecture: x86_64
  • Source Package: git-lfs
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Git Lfs
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: git-lfs from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

git-lfs-bash-completion 3.7.1-r0

Bash completions for git-lfs

https://git-lfs.github.io/

sudo apk add git-lfs-bash-completion
  • License: MIT
  • Architecture: x86_64
  • Source Package: git-lfs
  • normalized package name match
  • Matched by: Git Lfs
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: git-lfs-bash-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

git-lfs-doc 3.7.1-r0

Git extension for versioning large files (documentation)

https://git-lfs.github.io/

sudo apk add git-lfs-doc
  • License: MIT
  • Architecture: x86_64
  • Source Package: git-lfs
  • normalized package name match
  • Matched by: Git Lfs
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: git-lfs-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

git-lfs-fish-completion 3.7.1-r0

Fish completions for git-lfs

https://git-lfs.github.io/

sudo apk add git-lfs-fish-completion
  • License: MIT
  • Architecture: x86_64
  • Source Package: git-lfs
  • normalized package name match
  • Matched by: Git Lfs
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: git-lfs-fish-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

git-lfs-zsh-completion 3.7.1-r0

Zsh completions for git-lfs

https://git-lfs.github.io/

sudo apk add git-lfs-zsh-completion
  • License: MIT
  • Architecture: x86_64
  • Source Package: git-lfs
  • normalized package name match
  • Matched by: Git Lfs
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: git-lfs-zsh-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
dnf95%

git-lfs 3.7.1-4.fc44

Git extension for versioning large files

https://git-lfs.github.io/

sudo dnf install git-lfs
  • License: Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND ISC AND MIT AND MPL-2.0
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: git-lfs
  • 5 dependencies
  • 2 provides
  • normalized package name match
  • Matched by: Git Lfs
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: git-lfs from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
pacman95%

git-lfs 3.7.1-1

Git extension for versioning large files

https://git-lfs.github.com

sudo pacman -S git-lfs
  • License: MIT
  • Architecture: x86_64
  • 1 dependencies
  • normalized package name match
  • Matched by: Git Lfs
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: git-lfs from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

git-lfs 3.7.1-1.5

Git extension for versioning large files

https://github.com/git-lfs/git-lfs

sudo zypper install git-lfs
  • License: MIT
  • Category: Development/Tools/Version Control
  • Architecture: x86_64
  • Source Package: git-lfs
  • 3 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Git Lfs
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: git-lfs from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
MacPorts95%

git-lfs

sudo port install git-lfs
  • normalized package name match
  • Matched by: Git Lfs
MacPorts ports tree · api.github.com · MacPorts ports tree: devel/git-lfs/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
Chocolatey95%

git-lfs

choco install git-lfs
  • normalized package name match
  • Matched by: Git Lfs
Chocolatey community package catalog · community.chocolatey.org · Chocolatey community package catalog: git-lfs from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','gawk'
Scoop95%

main/git-lfs

scoop install main/git-lfs
  • normalized package name match
  • Matched by: Git Lfs
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/git-lfs.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

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