Host Files on GitHub With Direct Links Upto 25 MB Each In Size


File hosting has always been a great issue for both webmasters, specially to those webmasters who depends on free hosting platform like blogger. And for visitors downloading form third-party file hosting filled with unwanted and intrusive ads is a nightmare as well. So this article will guide will you on how you can host your files ads free, with direct links on But remember that you are not allowed to misuse this service to spam and the upload size for each file is 25 MB, and it should be enough for most of the webmasters.

Follow the below steps to host your files for free on GitHub;

Step 1 Creating GitHub Account

If you already have a GitHub account, login to it else head to the GitHub signup page and fill up the required fields, choose free plan and input other information as it suits to you. Now you might need to verify your email before you can start using GitHub services. For demonstration purpose, i have set my username on github as 'sombex'.

Step 2 Create Repository & Branch

Create a new repository using the '+' button on the top right corner. Now give your repository a name For example my repo name will be 'myuploads'. Keep the repo as public and tick on the option 'Initialize this repository with a README'. Like in the below image.

After creating the repository, you will be redirected to the newly created repo. Now, on the top right side, click on 'Branch Button'. We will create a new branch, in which we will upload our files, named 'gh pages'. Just type 'gh-pages' on the text box and create it.

Now remember that whenever you need to upload something, make sure that you are on the gh-pages branch.

Step 3 Uploading Files & Getting Direct Links

Ok now lets upload our file, but before that make sure you are on the correct branch, that is gh-pages. On the right side you will see upload files button, hit it. To upload file you have two options, drag and drop or select file from file open files dialog box.
After selecting the file, it will be automatically uploaded you just have to do it wait till the upload finishes and after that click on commit changes button at the bottom. For demonstration purpose i have uploaded a file named 'demo.txt'
Now lets get the direct link of the the file demo.txt  or something else on your case.
Reminder: Keep this in mind (this is gonna be helpful to get direct link) that my username is 'sombex', my repository name is 'myuploads'  and my file name is 'demo.txt'. You will have to remember yours to get the direct link of that file.
So the file link on GitHub looks like this;
Now the direct link will look like this;
What we did is made some changes to the link, like we made to, put our username at the beginning of the url, removed blob and gh-pages too.

So thats it, this is how you host your files for free with direct link on GitHub. If by any means you were unable to replicate the results, please do make a comment below so i can help you. Have a good day.


  1. Couldn't get this to work :(
    Keep getting a 404

  2. same here, some rubbish tutorial most likely for the outdated version of the Github :(

  3. Data is vital to every aspect of development, ranging from how we manipulate it, where we store it and who do we entrust our precious information with. automatic github commits

  4. The answer to this question depends on the nature of a business, the ideal customer profile and many other factors, clearly a restaurant has a different set of requirements to someone selling a digital product (such as an ebook) globally. The first thing is to decide an Internet Marketing strategy which is complimentary to the business, once this is defined then the activities required become much clearer. storey oto

  5. Now, there are many choices, there is usually a for each event better than the other run. It appears that the use of network marketing the best way to get return on investment cost per click online marketing tool, the strategic point. Lead generation

  6. Perhaps the best utilization of the Web has consistently been simple file transfer through email. transfer files

  7. This is very interesting content! I have thoroughly enjoyed reading your points and have come to the conclusion that you are right about many of them. You are great. look at this web-site

  8. MexiServer es una empresa consolidada en los servicios destreaming. La empresa nace en 2011 motivadapor las malas prestaciones que ofrecen otras empresas del sector y la escasa variedad que se oferta en el mercado sobre los servicios de streaming.
    MexiServer se ubica en la ciudad de Toluca, Estado deMéxico, siendo una empresa 100% mexicanaque ofrece a sus clientes un trato personalizado y adaptado para todos los ámbitos: empresarial, personal y/o laboral. La seguridad de contratar un servicio con esta empresa es la clave del éxito para su negocio de hosting México.
    Ofrecemos algunos servicios como video HD por internet, webhosting; dominios, diseño web, radiostreaming; radio hosting y además disponemos de planes para revendedores. Siestán buscando un Hosting México,contacta con MexiServer y sabrán cuál es elmejor plan que se adapta a su negocio de radio streaming.
    MexiServer cuenta con un equipo cualificado y profesionalque le ayudará a seleccionar su mejor radio hosting para emitir con toda la calidad que se merece una radio streaming. Su proyecto tendrá éxito asegurado con el respaldo de un equipo experimentado en el ámbito de los servicios streaming.
    Una de nuestras muchas garantías es que contamos con laacreditación de REGISTRY.MX apegándonos en los estándares internacionales tecnológicos con la máxima calidad en nuestro servicio y atención al cliente.Nuestro asesoramiento busca su comodidad y confianza hacia nuestra empresa para que su proyecto de Hosting México de Radio Streaming sea rentable y llegue a lomás alto de su sector.
    A diferencia de otras empresas de Hosting México, MexiServercuenta con la transparencia de la profesionalidad ya que todos los servicios que usted contrate de Radio Streaming, web hosting, o Radio Hosting, entre muchos otros, están faturados y realizados en un marco seguro de legalidad. El I.V.A se incluye en los precios finales sin sorpresas ni cargos adicionales que le supongan un mal trago a la hora de pagar sus servicios de Hosting México.
    Las opiniones de nuestros usuarios de Radio Streaming sonsatisfactorias frente a otras de la competencia del sector Hosting México porlo que es una oportunidad excelente para que su empresa cambie de Streaming Radio y contrate nuestros servicios, siempre profesionales y adaptados a susnecesidades empresariales, personales y/o laborales.
    MexiServer es la solución a tu Hosting México: calidad y precio van de la mano en nuestraempresa. Tenemos su plan para que su Radio Streaming tenga la mejor calidad de todo el sector y sea un referente cuando se encuentre emitiendo su streaming