Free Course for Therapists & CounselorsTherapist Website

Module 7 · Back it up

GitHub: a private backup of your site

10 min

Stage 6 of the kit. Your site is built, audited and compliance-checked, and right now it lives only on your laptop. By the end of this lesson it will also live on GitHub, in a private repository under your own account, with every version you have saved. That copy is also what the next module publishes from.

Illustration: a ring of three keys, standing for a site whose files are yours and backed up under your own account

What GitHub is, in plain terms

GitHub is online storage built for projects like this one. Two things make it different from a folder in Dropbox. First, it keeps every saved version of your site, not just the latest, so “put the fees page back the way it was on Tuesday” is a request Claude can actually carry out. Second, the hosting service in Module 8 watches your GitHub copy and republishes the live site whenever it changes.

Two words you’ll see. A repository, or “repo,” is GitHub’s name for one project’s folder plus its history; you’ll have exactly one. A commit is one saved snapshot of the folder with a short note about what changed. You’ve been making snapshots since Module 1; those are commits.

1Your folderthe working copy on your laptop
2Commita saved snapshot, with a note
3Pushupload the new snapshots
4GitHubyour private copy and its history

Private, and why

A repository can be public or private. Yours is private. Not because it holds anything about a client. It doesn’t, and it never should. It’s private because it’s your work: drafts of copy you rewrote before publishing, fee wording you were still deciding on, notes in practice-profile.md and site-map.md. The history keeps every draft, even after you change it. None of that needs to be public for anything in this course to work. Private is free and it’s one setting.

Nothing about a client goes in this folder, private or not

Your website folder holds a website. Intake forms, notes, letters, screenshots from your practice-management system, a client’s words saved “as an example”: none of it goes in here, not even for a minute. A private repository is a fine home for your own marketing copy. It is not a place for anything clinical, and it was never meant to be.

Belongs on GitHub

  • Your pages, your copy, the site's code
  • Your wordmark files and your own photos
  • practice-profile.md, brand-strategy.md, site-map.md, compliance-log.md
  • Your dated YYYY-MM-DD-site-archive folder

Never goes up

  • Anything about a client, ever
  • The .env.local settings file
  • The very large node_modules folder

First, a free GitHub account

  1. Go to github.com and sign up. The free account includes private repositories, which is all this course needs.
  2. Use an email address your practice will keep. This account controls your website’s files, so treat it like your domain name: not an old personal address you might abandon.
  3. Turn on two-factor sign-in when GitHub offers it. It takes a minute and protects the account behind your public website.

Then paste this into Claude

Claude does the technical half by following the kit’s deploy skill. The one part that needs you is a sign-in in your browser, and the prompt asks Claude to walk you through it.

Stage 6 — back the site up to GitHub

Let's do Stage 6 and back my project up to GitHub. Please follow the deploy skill, part one:

1. Connect this computer to my GitHub account. If the GitHub CLI (gh) isn't installed, install it,
   then run "gh auth login" and walk me through it one step at a time. Tell me exactly what to
   click and what I should see on screen.
2. Check .gitignore so .env.local, node_modules and other junk are never uploaded, and tell me
   plainly what it excludes.
3. Save a snapshot of my work, create a NEW PRIVATE repository named after my practice, and
   push everything to it.
4. Give me the link, and tell me where on the page to confirm it says Private.

I'm not technical, so do the technical parts and keep the explanations plain.

What to check in Claude’s reply: it says the repository is private, it names what .gitignore leaves out (look for .env.local in that list), and it gives you a link that starts https://github.com/. If any of the three is missing, ask for it before you move on.

What happens on your screen

  1. Claude installs the GitHub command-line tool and starts the sign-in. Approve it if your computer asks.
  2. A short one-time code appears, something like AB12-CD34, and a browser tab opens asking for it.
  3. Paste the code and approve the connection. GitHub’s button wording changes from time to time, so check what your screen says and choose the option that authorizes the GitHub CLI. You do this once on this computer.
  4. Claude creates the repository, uploads everything, and gives you the link.

Check it yourself

Open the link and confirm three things with your own eyes:

  • The word Private appears next to the repository name. If it says Public, tell Claude: “Make this repository private.”
  • Your files are listed: the site’s folders, your images, and your .md planning files.
  • There’s a commit count near the top. Click it to read every snapshot in order, each with its note.
The snapshot habit, from here on

Snapshots now have somewhere to go. End any work session with one sentence: “Please save a snapshot and push it to GitHub.” Do it when you finish a page, before you try something you’re unsure of, and before you close the laptop.

End of Module 7 — your site exists somewhere other than your laptop

You should now see your repository on github.com, marked Private, with your files listed and at least one commit. If your laptop died tonight, your website’s files would survive it.

If you get stuck

The sign-in goes in circles. Usually the browser is signed into a different GitHub account. Sign out of GitHub in the browser, then tell Claude: “Please run gh auth login again and give me a fresh one-time code.” Use the new code straight away rather than an old one.

Claude says there is “nothing to commit.” That means every change is already saved. If the repository on github.com shows your files, you already pushed; you’re done. If it’s empty, ask: “Push my existing commits to the GitHub repository.”

Something went up that shouldn’t have. Say so right away: “I committed a file that needs removing from the history, and here’s which one.” Deleting it in a later snapshot isn’t enough, because the history keeps it. If it was a password or a key, change it where it was issued too.

Key takeaways
  • GitHub keeps every saved version of your site, and Module 8 publishes from it.
  • A commit is one saved snapshot with a note; a repository is the project plus its history.
  • The repository is private because the work is yours. Nothing about a client ever goes in it.
  • End each work session by asking Claude to save a snapshot and push it to GitHub.

Watch this step

GitHub in six minutes. Stop once the concepts are covered; the second half connects GitHub to code editors this course does not use. When she creates a repository, notice the public or private choice: yours is private. It’s from an independent creator — credited below, so go give them a follow.

GitHub For Beginners Explained in 6 Minutes: quick tutorial (2026)

Victoria AzarovaCurated · 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.