Can Github repo be used as a free storage space? #163746
-
I am new hereI created a repo for engineering notes recently "Engineering-Notes-Hub" and have been adding notes regularly, |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 2 replies
-
|
Yes, to some extent — but with limits. GitHub is primarily meant for code and version control, not general file storage. 📦 Storage Limits: Soft limit: GitHub starts warning you if the repo exceeds 1 GB Hard limit (file size): You cannot push a file larger than 100 MB Total repo size (unofficial cap): Around 5 GB — after that, GitHub may restrict functionality You’re currently at 200 MB, so you’re fine — but it’s good to plan ahead. 🧰 What to do when you reach the limit? Split your notes across multiple repositories — e.g., by semester or subject. Upload large files to external storage (Google Drive, Dropbox) and link to them from your repo. Compress files (e.g., ZIP) before uploading to reduce size.
It's best to use it for code, documentation, and version-controlled content. |
Beta Was this translation helpful? Give feedback.
-
|
Technically yes, but practically no — and ethically it’s a bit gray. Let me break it down: 💾 What GitHub allows (and doesn't)
🛠️ Alternatives to "storage-only" useIf you're uploading PDFs, slides, or notes:
|
Beta Was this translation helpful? Give feedback.
-
|
Hi there! Here is the answer to your question |
Beta Was this translation helpful? Give feedback.
-
|
Technically yes, a GitHub repo can be used like a free storage space — but it's not really designed for that. A few key limits to keep in mind: For large file storage (like PDFs, images, etc.), you can: If you're just storing notes in markdown or text format, you're fine for a while. But don’t treat it like a cloud drive — GitHub’s for code, not your semester archive dump. |
Beta Was this translation helpful? Give feedback.
Technically yes, a GitHub repo can be used like a free storage space — but it's not really designed for that.
A few key limits to keep in mind:
Single file size limit: ~100 MB (hard limit).
Recommended repo size: Keep under 1 GB total.
GitHub warns or restricts repos >5 GB (and may flag your account for abuse if you're pushing binary blobs regularly).
For large file storage (like PDFs, images, etc.), you can:
Use Git Large File Storage (LFS)
Or better, consider using something like Google Drive or Dropbox for hosting and just link them in your README.
If you're just storing notes in markdown or text format, you're fine for a while. But don’t treat it like a cloud drive — GitHub’s for code…