Skip to content

Git and GitHub for Beginners

Stop losing work and naming files "final-final-v3". Learn Git and GitHub in 10 practical lessons, from your first commit to publishing your portfolio online with GitHub Pages.

Beginner 3 chapters 10 lessons Free
YOUR PROGRESS0%
/ Course content

3 chapters · 10 lessons

Every chapter and lesson has its own page. Open a chapter to see its lessons.

1 Chapter 1: Git Basics3 lessons

Understand what Git does, install it and save your first versions with commits.

01What Is Git and Why Should You Use It?Coming soon 02How to Install and Set Up GitComing soon 03Git Init, Add and Commit ExplainedComing soon
2 Chapter 2: Undo, Branches and Merging3 lessons

Undo mistakes without panic, experiment safely on branches and fix merge conflicts.

04How to Undo Changes in GitComing soon 05Git Branches for BeginnersComing soon 06How to Merge Branches and Fix Merge ConflictsComing soon
3 Chapter 3: Working With GitHub4 lessons

Put your code on GitHub, collaborate with pull requests, clone projects and publish your site with GitHub Pages.

07How to Push Code to GitHubComing soon 08How to Make a Pull Request on GitHubComing soon 09How to Clone a RepositoryComing soon 10Publish Your Website With GitHub PagesComing soon

What you’ll learn

  • What Git actually does, explained without jargon
  • How to install Git and save your work with commits
  • How to undo mistakes calmly, even the scary ones
  • How to experiment safely with branches and fix merge conflicts
  • How to put your code on GitHub, work with pull requests and clone projects
  • How to publish your portfolio for free with GitHub Pages

Who this course is for

  • Designers and developers who’ve ever lost work or broken something they couldn’t undo
  • Freelancers who want a professional way to share code with clients and other developers
  • Anyone following the HTML, CSS or JavaScript courses on this site who wants their projects online

Before you start

Do I need to be a programmer?

No. If you can create folders and files, you can use Git. You’ll type a few commands, and each one is explained.

Is Git the same as GitHub?

No. Git is the tool on your computer that tracks changes. GitHub is a website that stores your Git projects online so you can back them up, share them and work with others.

Do I have to use the terminal?

This course uses the terminal because it works the same everywhere, and it’s less scary than it looks. VS Code’s built-in Git buttons are shown too.

What will I build?

Your portfolio site, tracked with Git, stored on GitHub and published live at a free github.io address.

Anmol Sharma
Written by Anmol Sharma

Freelance UI/UX designer and web developer. 6 years, 50+ projects, clients in 30 countries. Hire me.