Free CourseBuild a Website

Module 6 · Publish to GitHub

Publish your project to GitHub

15 min

Stage 5. Your site is great — now we back it up to the cloud with GitHub, the free, safe home for your project. This also sets up the one-click publishing you’ll use in the next module.

Watch — hand-picked

The clearest walkthroughs of this step, from creators we rate. Each one’s credited — go give them a follow.

How To Use GitHub For Beginners

corbinCurated · third-party

GitHub Basics Made Easy: A Fast Beginner's Tutorial!

Skill FoundryCurated · third-party

How Git Works: Explained in 4 Minutes

ByteByteGoCurated · third-party

The big picture

GitHub keeps a backed-up copy of your project and a history of every version — if your laptop ever dies, your site is safe. The one real gotcha is connecting your computer to GitHub (authenticating), which trips up almost everyone who skips it. The prompt below has Claude do it properly with a simple browser sign-in.

1Your folderthe working copy
2Snapshot (commit)a saved version
3Pushupload
4GitHubsafe cloud copy + full history

First, create a free GitHub account

If you don’t have one, go to github.com and sign up (it’s free). Then come back.

Paste this into Claude Code

Back up to GitHub

Let's do Stage 5 — publish my project to GitHub. Please follow your deploy skill:

1. Connect this computer to my GitHub account properly. If the GitHub CLI (gh) isn't installed, install it,
   then run "gh auth login" and walk me through it step by step — I'll choose GitHub.com, HTTPS, and "log in
   with a web browser." Tell me exactly what to click.
2. Make sure there's a good .gitignore so we never upload anything private or junk.
3. Commit my work, create a new private GitHub repository, and push my project to it.
4. Give me the link to view my project on github.com.

I'm not technical — do the technical parts for me and keep it simple.

What you’ll do

  1. Claude installs the GitHub CLI and starts the sign-in (approve when asked).
  2. A short code appears (like AB12-CD34). Copy it; a browser opens; paste it and click Authorize. This is a once-ever step.
  3. Claude creates your repository and uploads everything. Refresh github.com and your files are there.
What never goes to GitHub

You probably don’t have any of these yet — this is just good to know. Some files should never be uploaded: passwords, private keys, and the giant node_modules folder. Claude sets up a .gitignore that skips them automatically.

Goes up to GitHub

  • Your pages and code
  • Your images
  • Your two strategy documents

Never goes up

  • Passwords & private keys
  • The giant node_modules folder
  • Anything .gitignore lists
End of Module 6 — your project is backed up

Your project lives safely on GitHub and your computer is connected for all future updates. One module to go: making it live on the internet.

If you get stuck

See an error like Support for password authentication was removed or a rejected push? The sign-in didn’t finish. Tell Claude: “GitHub won’t let me push — please run gh auth login again and walk me through it.” Re-doing the browser sign-in fixes it almost every time.

Next step

If this is turning into more project than you wanted…

No shame in it — Evolvv designs and builds custom sites for a living. We’ll mock up your new homepage free, before you commit to anything. Everything you’ve done in this course so far makes that conversation better.

Book a free strategy session →

Watch this step

GitHub makes more sense seen than described. This plain-English beginner's tour covers the repos-and-backup idea this lesson is built on. It’s from an independent creator — credited below, so go give them a follow.

How To Use GitHub For Beginners

corbinCurated · third-party

More learning resources

Still want another angle? These are hand-picked and vetted to line up with this lesson — from creators and sites worth your time.