gitgithubrepositorystoragelimit

Repository size limits for GitHub.com


Lately I have been using GitHub and I am wondering what is the repository size limit for files hosted on github.com?


Solution

  • From GitHub's documentation:

    GitHub doesn't have any set disk quotas. We try to provide abundant storage for all Git repositories, within reason. Keeping repositories small ensures that our servers are fast and downloads are quick for our users.

    and

    In addition, we place a strict limit of files exceeding 100 MB in size.

    Now for the non-canned part of my answer. GitHub might allow you to store files up to 100MB, but you should also be vigilant to not version binary or other similar blob type files. The reason for this is that Git doesn't handle binaries well, and storage can be a big penalty. So if you find yourself pushing 100MB per file, you should check what type of file you are dealing with.