How do you download files from GitHub?

I need to download a folder from a GitHub repository. How can I do that without using Git?

maguay's avatar
almost 3 years ago
Download the whole repository, or open the “raw” version of each file and save it

Download whole GitHub repository

The easiest way to download anything from GitHub is to download the entire repository. If you navigate to any repository’s main page, you’ll see a green Clone or download button in the upper right side of the page. Click it, then choose Download ZIP to save a full ZIP file of everything in that repository’s current master branch to your computer.

GitHub open raw version of file

That might be overkill though if you only want one file. You can download individual files from a GitHub repository, though it’s not quite as direct. Browse to the file you want to download, then click the Raw button. That will typically open the plain text version of the file in your browser, without any of GitHub’s branding or interface. Now, press CMD/Ctrl+S to save the file from your browser, or use your browser’s share menu to save the file on mobile.

GitHub download individual file

If the file type isn’t a text or code file, one that GitHub lets you edit online, then you may see a Download button on the file instead. If so, you’re in luck—click it to save the file to your computer. Typically PDFs and app installers show with download buttons in GitHub.

1 point
Confluence alternatives for wiki/knowledge bases?

I've been looking to try something new for knowledge/documentation storage for a little while now. Confluence has always been there, but I find it to be relativly limited for the cost and additiona...

How do you manage your chat inbox?

Hey guys, first post here. As part of my work, I have to deal with and respond to a lot of incoming messages from different chats: Linkedin/WhatsApp/Signal/IG. I try to use Unreads/Archive features...

Is anyone's company setting up interactive screens for their conference rooms — what's the best one?

Using the whiteboard and ideating on giant notepads will be a little tricky for design sprints where some of the team is in-office and part WFH. Are your companies installing interactive screens or...

The community for GitHub  power users.