Take the 2-minute tour ×
Web Applications Stack Exchange is a question and answer site for power users of web applications. It's 100% free, no registration required.

I have seen people talking about Github as a repository for source code and I myself use Github for distributed version control, but one thing I didn't understand is why don't people use it for sharing video and audio files?

Sure, the compression takes long time (It took 10 minutes for a small 5MB mp3 file for me), but it's actually possible to upload files like that right?

Note: I know that we can compress audio and video into a format like tar and upload it painlessly on Github, but that's not what I am really concerned about.

Question

  • What in Github makes it really bad place to use it for cloud storage? Is it just that delta compression process that makes it a bad option?
  • What is the maximum storage space that Github offers for free accounts?
  • Is there any way we can hack Github commands, using which we can use Github like Dropbox? (may be by disabling compression, or something like that)

Any help in understanding Git with respect to this question will be appreciated. Thanks!

share|improve this question

closed as too broad by Eight Days of Malaise, Al E., Jacob Jan Tuinstra, jonsca Feb 1 at 2:39

There are either too many possible answers, or good answers would be too long for this format. Please add details to narrow the answer set or to isolate an issue that can be answered in a few paragraphs.If this question can be reworded to fit the rules in the help center, please edit the question.

    
git is a version control program for text document, not a binary compression tool. –  Sathya Jan 15 '13 at 11:39
    
@Sathya: I think Github uses the delta compression to check differences between previous and current versions and version controls them accordingly. Whereas Dropbox uses the same to check differences, and then synchronizes both of them. I think Dropbox removes older versions of the file, unlike Git where we can revert back to older versions. I can't understand why people don't use Git like their Dropbox. I think it can do what Dropbox does, at least theoretically. Doesn't git version control using pretty much same algorithms? Correct me if I am wrong here. –  Forbidden Overseer Jan 15 '13 at 12:03
    
github is a front-end for git - and I really, really doubt it uses delta compressions and what not - all that is done by git, which is why it's an excellent tool for comparing text, not images & other binary data. Dropbox stores revision history of your data as well - 30 days on a free account with an option to store permanently. Theoretically it might seem both do the same, the underlying techniques are pretty different. It's important to note that Dropbox is a sync tool, while git is a version control tool. They aren't the same. –  Sathya Jan 15 '13 at 12:10
    
@Sathya: Yeah, I know that github is a front end for git. git does use delta compression. You can see more details about it here: stackoverflow.com/questions/9478023/… I didn't knew that detail about Dropbox. Thanks! Yes, they were not intended for same purpose, but I asked this question to know about git even more. I could learn about algorithm, but knowing what git do "that" special to make it specific for "source files only" is a question for which answer couldn't be easily found by me. –  Forbidden Overseer Jan 15 '13 at 12:27

3 Answers 3

up vote 3 down vote accepted
  • It is not as easy as Dropbox or similar services for that purpose.
  • The free accounts can only have public repositories, so you would also need to pay to keep your private documents on there. Dropbox and such do provide this for free.
  • The more public nature of Github makes me assume takedowns would be more frequent for illegal content sharing.
  • It is not marketed towards that goal. Most people would not think of using it for these reasons.
share|improve this answer
    
To be frank, all of them are good reasons why people don't use github for that purpose. Seems like there really is no way for us to change how git operates, so that we could change things we share on git. How depressing... :( –  Forbidden Overseer Jan 15 '13 at 15:30
    
Why is it depressing? I don't understand your reasons for wanting Github to be used that way. –  Tom Ribbens Jan 15 '13 at 15:32
    
Simply because I think git doesn't have any limits over how much data we can store online - for free. Isn't that true? –  Forbidden Overseer Jan 15 '13 at 15:34
3  
No, Github repo's have a (soft) limit of 1Gb: help.github.com/articles/what-is-my-disk-quota –  Tom Ribbens Jan 15 '13 at 16:18
    
That was a good link you gave there... Thanks! –  Forbidden Overseer Jan 16 '13 at 9:03

Answer from GitHub: Working with large files

While git is terrific for a great number of use cases, it has trouble with large files. If you are pushing large files to GitHub, you might want to evaluate your workflow to make sure those files are truly necessary. Game assets, such as graphics, might be required for your repository, while SQL database dumps probably aren't.

GitHub warns you when you push a file larger than 50 MB. We'll reject pushes containing files larger than 100 MB. We do this for a few reasons.

In many cases, committing large files is unintentional and causes unneeded repository bloat. Every time someone clones a repository with a large file, they'll have to fetch that file, adding excess time to their download.

In addition, if a repository is 10 GB in size, Git's architecture requires another 10 GB of extra free space available at all times. This allows Git to move the files around in its normal course of operations. Unfortunately, this also means that we must be much less flexible with how we store these repositories.

share|improve this answer

Bitbucket offers private repos for groups of up to five members:

There is no hard size limit, but they recommend staying under 1 GB: Bitbucket maximum size

You can host your own Git service using a VPS. Digital Ocean is $5/mo. for 20GB:

And some options for privately hosting shareable files: http://www.makeuseof.com/tag/3-self-hosted-dropbox-alternatives-tested/

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.