Module 1 · Lecture 1.6

Understanding Local Folder, GitHub Repository and Public Website

This lecture removes one of the biggest beginner confusions in digital work. You will clearly understand what stays on your computer, what lives on GitHub, and what becomes visible to the world through a public website.

Understanding local folder, GitHub repository and public website.
Opening concept: your local folder, GitHub repository and public website are three different spaces with three different purposes.

What you will master

Three spaces. One clear workflow.

01

Know the three parts

Understand what a local folder is, what GitHub stores, and what a public website actually means.

02

See the flow clearly

Learn the exact journey: create locally → upload to GitHub → publish for the public.

03

Avoid beginner confusion

Stop mixing laptop file paths, repository links and live website URLs.

If you understand these three layers, you understand one of the most important foundations of modern website building. Build locally. Store safely. Publish confidently.
The three main parts.
The three main parts of your website journey: Local Folder, GitHub Repository and Public Website.

Concept Breakdown

The three main parts

PartMeaningWhat you do thereVisibility
Local FolderThe project folder saved on your own computer.Create files, edit pages, save images, organize project work.Private to your computer until you upload or share.
GitHub RepositoryYour online project storage and version history.Back up files, track changes, sync work, collaborate and prepare publishing.Can be private or public depending on repo settings.
Public WebsiteThe live web address visitors can open in a browser.Show your work to learners, readers, clients or the general public.Public and visible on the internet.
How local folder, GitHub repository and public website work together.
Simple workflow: create and edit locally, upload to GitHub, then publish as a public website.

Workflow

How they work together

Step 1: Work locally

Your first work happens in your local folder. This is where you create HTML files, edit CSS, save images and test drafts.

Step 2: Upload to GitHub

When the work is ready, you commit and push it to your GitHub repository so it is backed up and versioned online.

Step 3: Publish online

Your website hosting or GitHub Pages publishes the content, turning it into a live website for real visitors.

Step 4: Update repeatedly

Every future improvement follows the same flow: edit locally → push to GitHub → update the public site.

Example: Build locally → push to GitHub → publish online → people visit your site.
Simple analogy for local folder, GitHub repository and public website.
Analogy: Local Folder = your house, GitHub Repository = your secure vault, Public Website = your shop in the market.

Simple Analogy

Think of it in an everyday way

Your House

Local Folder
You build and organize your work here, privately, on your own device.

Your Vault

GitHub Repository
You store, protect and version your project online.

Your Shop

Public Website
This is what the world can visit, view and interact with.

Why this analogy matters: The thing inside your house is not automatically inside the vault, and the vault is not automatically the same as the public shop. Each step matters.
Common beginner mistakes.
The most common mistakes happen when beginners confuse local files, repository links and live website URLs.

Mistake Prevention

Common beginner mistakes

Mistake 1

Thinking a local file path like C:\Users\Name\Desktop\site\index.html is a public website link.

Mistake 2

Editing files locally but never uploading them to GitHub or the web host.

Mistake 3

Confusing the GitHub repository page with the actual live website visitors should open.

Mistake 4

Forgetting to publish or update the live website after making changes.

If you see this…It usually means…
C:\ or D:\ file pathIt is a local folder path on your own computer.
github.com/username/repo-nameIt is the GitHub repository location.
https://yourdomain.com or https://username.github.io/project/It is the live public website URL.

Student Prompt

Use AI to clarify your own project

Prompt for ChatGPT
Explain the difference between a local folder, a GitHub repository, and a public website URL as if I am a complete beginner. Use simple examples and also show how these three parts work together when building and publishing a website.

Practice Task

Write three examples for your own project:
1. My local folder path
2. My GitHub repository link
3. My public website link

If you do not have one yet, write “not created yet.”

Important Reminder

A local path works only on your computer. A GitHub repository stores your files online. A public website is the live address that other people can open in their browser.

Key takeaways and what next.
Final summary: master the flow of local work, GitHub storage and public publishing, and you will build with confidence.

Final Checklist

Key takeaways

  • I understand what a local folder is.
  • I understand what a GitHub repository is.
  • I understand what a public website URL is.
  • I know that local paths are private and not public links.
  • I know the workflow: build locally → push to GitHub → publish online.
  • I can now explain these three layers to another beginner.