Git and GitHub for Beginners (Plus Markdown)

Markdown, Git and GitHub
Before you start the Claude Code course

Markdown, Git and GitHub

Three tools you'll keep bumping into when you build an online business with AI. They sound techy, but each one does a simple job. By the end of this page, you'll know exactly what that job is.

# write save share

The whole thing in three lines

Markdownis how you write. A simple way to make text bold, add headings and make lists using normal keyboard symbols.
Gitis how you save. It keeps every version of your project, like save points in a video game.
GitHubis where you share. A website that stores your Git projects online so others (and Claude) can work on them.
!

Git and GitHub are not the same thing. Think of email and Gmail. Email is the idea of sending messages; Gmail is one website where you do it. Git is the tool that saves versions; GitHub is one website where you keep those projects online.

#
Part 1

Markdown: writing with symbols

You already know some Markdown without realising it. Ever typed *this* in WhatsApp to make a word bold? That's the same idea. You add a few symbols to plain text, and an app turns them into nice formatting.

Why not just use Word? Because Word files are full of hidden code that only Word understands. A Markdown file is just plain text. Any app can open it, it never breaks, and AI tools like Claude read and write it really well. Markdown files end in .md.

The only symbols you need

You typeYou getUsed for
# My ShopMy ShopBig heading (title)
## PricesPricesSmaller heading
**on sale**on saleBold
*handmade*handmadeItalic (slanted)
- Mugs• MugsBullet list
1. Order1. OrderNumbered list
[Shop](https://...)ShopLink
> Loved it!Loved it!Quote (great for reviews)

Try it yourself

Type in the green box on the left. The right side shows what it turns into, live. It's filled in with an example product page to start.

People see
★

Where you'll meet Markdown in your business: the README.md that explains a project, the CLAUDE.md file that gives Claude its rules, blog posts on many website builders, Notion pages, Discord messages, and almost every answer an AI chatbot gives you.

G
Part 2

Git: save points for your work

In a video game, you hit a save point before the boss fight. If it goes badly, you go back and try again. Git gives your project save points. Every time you save with Git, it remembers exactly what every file looked like at that moment. You can always go back.

Without Git

  • homepage.html
  • homepage_v2.html
  • homepage_FINAL.html
  • homepage_FINAL_really.html
  • homepage_FINAL_use_this_one(2).html

Which one is the right one? Nobody knows. 😵

With Git

  • Create homepageMonday 09:12
  • Add product photosMonday 14:30
  • Change price to £12Tuesday 10:05
  • Fix spelling mistakeTuesday 16:48

One file, homepage.html, with its whole history saved inside Git.

Four words to know

Repository (repo)Your project folder, which Git is watching. Everything inside it gets save points.
CommitOne save point. Each one comes with a short message saying what changed.
BranchA parallel universe for your project. Try a wild idea without touching the real version.
MergeYour idea worked? Merging brings the branch back into the main version.

What branches look like

Each dot is a commit. The orange line is the real shop (main). The violet line is a branch where someone tried out a new price page. When it worked, it was merged back in.

Start shop Add homepage Fix typo Merge new prices Launch! New price page Add PayPal button main new-prices

Write commit messages like a pro

Future-you will read these when something breaks. Say what changed, starting with a doing word.

✗ Unhelpfulstuff
fixed it
update
asdfgh
✓ HelpfulAdd price to the homepage
Fix broken checkout button
Update shipping info for EU
Remove old summer banner
★

Good news: Git lives on your own computer and works without the internet. And with Claude Code, you never have to type Git commands. You just say commit this with a good message and Claude does it for you.

H
Part 3

GitHub: your project's online home

Git keeps your save points on your computer. But what if your laptop gets lost? Or a friend wants to help? Or you want Claude to work on your project while you're out? That's where GitHub comes in. It's a website that keeps a copy of your Git project online, a bit like Google Drive for code. It's free to sign up at github.com.

Push and pull

You push your save points up to GitHub. Other people (or Claude) pull them down. Everyone stays in sync.

Your computer GitHub (online) Teammate or Claude push ↑ pull ↓ pull ↓ push ↑

GitHub words to know

PushSend your latest save points from your computer up to GitHub.
PullFetch the latest save points from GitHub down to your computer.
CloneDownload a full copy of a project from GitHub for the first time.
IssueA to-do note or bug report stuck to the project. "The checkout button is broken."

The pull request: GitHub's big idea

A pull request (people say "PR") is a polite way of saying: "Here are my changes. Can someone check them before they go live?" It's how teams avoid breaking things. It always happens in this order:

  1. BranchMake a branch and do your changes there.
  2. PushPush the branch up to GitHub.
  3. AskOpen a pull request so someone can review it.
  4. MergeOnce approved, it's merged into main.
!

Business safety rule: make your repositories private unless you want the whole world to see them. And never put passwords, API keys or customer details in a repo. Once something's been pushed, it's very hard to fully delete it.

✳
Part 4

How it all fits with Claude Code

Here's the big picture. When you use Claude Code to build your website, shop or app, all three tools work together:

MarkdownYou give the rulesYou write instructions in CLAUDE.md, like "Always use British spelling."
GitClaude saves its workClaude edits your files and makes commits, so you can undo anything you don't like.
GitHubYou check and shareClaude pushes to GitHub and opens a pull request. You review it, then merge.

Where each one appears in the course

SessionWhat you doUses
3Claude creates a project with a README.mdMarkdown
6Branches, commits and your first pull requestGit + GitHub
13Writing your CLAUDE.md rulesMarkdown
15Making a skill with a SKILL.md fileMarkdown
20Two Claudes working at once with worktreesGit
22Typing @claude in a GitHub issueGitHub
23Claude working in the cloud on your repoGitHub
?
Check yourself

Quick quiz

Ready? Head to the Claude Code Course and start at Session 1. A Your Online Business (YOB247) guide.

Your Online Business
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.