Skip to main content

About storage and bandwidth usage

Git Large File Storageを使用するすべてのアカウントは、1 GBの無料のストレージと1 GBの一ヶ月あたりの無料帯域を受け取ります。 帯域とストレージのクオータが十分ではない場合は、Git LFSのための追加のクオータを購入できます。

Git LFS is available for every repository on GitHub, whether or not your account or organization has a paid subscription.

Tracking storage and bandwidth use

When you commit and push a change to a file tracked with Git LFS, a new version of the entire file is pushed and the total file size is counted against the repository owner's storage limit. When you download a file tracked with Git LFS, the total file size is counted against the repository owner's bandwidth limit. Git LFS uploads do not count against the bandwidth limit.

For example:

  • If you push a 500 MB file to Git LFS, you'll use 500 MB of your allotted storage and none of your bandwidth. If you make a 1 byte change and push the file again, you'll use another 500 MB of storage and no bandwidth, bringing your total usage for these two pushes to 1 GB of storage and zero bandwidth.
  • If you download a 500 MB file that's tracked with LFS, you'll use 500 MB of the repository owner's allotted bandwidth. If a collaborator pushes a change to the file and you pull the new version to your local repository, you'll use another 500 MB of bandwidth, bringing the total usage for these two downloads to 1 GB of bandwidth.
  • If GitHub Actions downloads a 500 MB file that is tracked with LFS, it will use 500 MB of the repository owner's allotted bandwidth.

If Git Large File Storage (Git LFS) objects are included in source code archives for your repository, downloads of those archives will count towards bandwidth usage for the repository. For more information, see "Managing Git LFS objects in archives of your repository."

Tips:

  • 帯域とストレージに量は、リポジトリのオーナーのクオータに対してのみカウントされます。 フォークでは、帯域とストレージの利用はリポジトリネットワークのルートに対してカウントされます。 リポジトリへの書き込みアクセスを持っている人は、自分個人の帯域とストレージクオータに影響を与えたり、データパックを購入したりすることなくGit LFSにファイルをプッシュできます。 フォークの作成やリポジトリのプルは、親リポジトリの帯域制限に対してカウントされます。
  • 帯域に未使用があっても、翌月には持ち越しできません。

Storage quota

If you use more than 1 GB of storage without purchasing a data pack, you can still clone repositories with large assets, but you will only retrieve the pointer files, and you will not be able to push new files back up. For more information about pointer files, see "About Git Large File Storage."

Bandwidth quota

If you use more than 1 GB of bandwidth per month without purchasing a data pack, Git LFS support is disabled on your account until the next month.

Further reading