# How to Use Github Pages

> To use GitHub Pages in GitHub, navigate to your repository, click the 'Settings' tab, and scroll to 'Pages'. Select your publish branch under 'Source', optionally choose a folder, and click 'Save'. Finally, click the 'Visit site' button to view your live site at the provided URL.

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

## Steps

1. Navigate to your repository.
2. Click on the 'Settings' tab.
3. Scroll down to the 'Pages' section.
4. Under 'Source', select the branch you want to publish by clicking the drop-don arrow.
5. Optionally, select a folder such as root or docs if needed.
6. Click the 'Save' button.
7. After enabling, GitHub will provide a URL. Visit the provided URL to see your live site by clicking the 'Visit site' button.
