Git LFS

Open source

Open-source Git extension that replaces large files with text pointers in the repository and stores the file contents on a remote server such as GitHub.

Open-source alternative to

git-lfs.com
Git LFS homepage screenshot
GitHub stars
15k
Last 30 days
+47(+0%)
Last commit
6 days ago
Repository age
13 years
Version
v3.8.1
Licence
Custom
Self-hosted
Yes

About Git LFS

Git LFS keeps large files such as audio samples, videos, datasets and graphics out of the repository itself. Git holds small text pointers instead, and the real contents are stored on a remote server like GitHub.com or GitHub Enterprise.

Setup has two parts: run git lfs install once per user account, then pick the file types to manage in each repository with git lfs track and make sure .gitattributes is tracked. Tracking does not convert files that are already in history; the git lfs migrate command handles that. After that you commit and push as usual.

Installers are listed for Windows, Mac (Intel and Apple Silicon) and Linux, plus Homebrew, MacPorts and PackageCloud. The project publishes an API specification and a reference server implementation for anyone integrating LFS into another tool. The homepage carries a security notice telling all users to update to 3.8.1.

Key features

  • Replaces large files with text pointers inside Git
  • Versions files as large as a couple of gigabytes
  • Keeps repositories at a manageable size
  • Faster cloning and fetching with large files
  • Same access controls as the rest of the repository
  • Migrates existing files with git lfs migrate

Good fit for

  • Versioning design files and graphics
  • Storing datasets alongside code
  • Keeping video or audio assets in a Git repository
Built with
Go tools
Tags
git
large-files
version-control
git-extension
binary-assets
open-source

Git LFS: questions and answers

What is Git LFS used for?
Git LFS is an open-source Git extension that replaces large files with text pointers in the repository and stores the file contents on a remote server such as GitHub. It is a good fit for versioning design files and graphics, storing datasets alongside code, and keeping video or audio assets in a Git repository.
Is Git LFS open source?
Yes. Git LFS is open source under a custom licence. Its source code is on GitHub at git-lfs/git-lfs and is written mainly in Go.
Is Git LFS free?
Yes. Git LFS is open source, so the software itself is free to use under the terms of its own licence.
Can I self-host Git LFS?
Yes. Git LFS can be self-hosted on your own server or infrastructure.
What is Git LFS an alternative to?
Git LFS is an open-source alternative to Unity Version Control. Other open-source alternatives to Unity Version Control include Gogs, Gitea and GitLab Community Edition.
Is Git LFS actively maintained?
Yes. The most recent commit to Git LFS was on 6 November 2026, and the latest release is v3.8.1, published on 22 October 2026. The project has 15k stars on GitHub, with 47 added in the last 30 days.

Open-source alternatives to Git LFS

See all

SaaS alternatives to Git LFS

See all