# How to Upload a Folder to Github

> To upload a folder to GitHub, click Add file and select Upload files, then drag the folder into the browser. Scroll to Commit changes, add a descriptive message, choose your branch option, and click the Commit changes button to finish.

Canonical: https://livedemo.ai/tutorials/how-to-upload-a-folder-to-github/
Apps: GitHub
Updated: 2026-10-05
Interactive demo: https://story-api.livedemo.ai/workspaces/62255d3d3304f17b8f5e2d03/stories/692a507cab56e05a00ffd24e/preview?step=1

## Steps

1. Click on 'Add file' and select 'Upload files'.
2. Drag the entire folder from your file explorer into the browser window. GitHub will recognize and upload the folder structure.
3. Scroll down to the 'Commit changes' section. Add a short, descriptive commit message in the 'Commit changes' box.
4. Choose whether to commit directly to the default branch or create a new branch for your changes.
5. Click the 'Commit changes' button at the bottom to upload the files to your repository.
