Nishaglobal Education logo

Git & GitHub for Beginners

Track every change, work on branches and collaborate on GitHub with confidence

A free, complete Git and GitHub course for beginners. Learn commits, history, undoing mistakes, .gitignore, branches, merging and conflicts, then remotes, push, pull, pull requests and good team habits, with real terminal output, exercises with solutions and a quiz in every lesson. Finish by publishing your portfolio and running a team workflow.

lessons
11
lessons
final project
1
final project
of learning
9 hours
of learning
level
Beginner
level

Your progress

0 of 12 completed

Start Lesson 1 →

Progress is saved in this browser. No account needed.

Who this course is for

  • Beginners who have written some code or web pages and want to stop losing work
  • Students and job-seekers preparing for developer, tester, DevOps or data roles, where Git is expected
  • Anyone who wants to share projects on GitHub or contribute to open source
  • Designers, writers and analysts who work with developers and want to follow the workflow

What you will be able to do

  • Record your work in clear commits and read the history and differences
  • Undo mistakes safely, and keep secrets and clutter out with .gitignore
  • Work on branches, merge them and resolve merge conflicts
  • Push to and pull from GitHub, and work on more than one computer
  • Deliver changes through pull requests and code review, like a professional team
  • Publish a project on GitHub and GitHub Pages with a README and a tagged release

Before you start

Skills you need

  • Basic computer use: folders, files and typing
  • Helpful but not required: a small project to practise with, such as the portfolio from HTML & CSS for Beginners

Cost and accounts

Free. Git and a GitHub account cost nothing; no card needed.

Setup time

About 10 minutes to install and configure Git (lesson 1).

Tools

Checked with

  • Every terminal example is run automatically with Git 2.53 in a fresh folder, and its output compared with the lesson; GitHub is stood in for by local repositories, so pushes, clones and pulls really run
  • Commit ids in the lessons are the real ids those commands produce for the example learner (yours will differ, because your name, email and time differ)
  • GitHub steps checked against the GitHub Docs on 2026-11-26

Last reviewed: 26 November 2026

Syllabus

Final project

Portfolio on GitHub with a team workflow

Publish a project safely on GitHub and GitHub Pages, deliver a feature through a pull request, resolve a teammate's conflicting change and tag a release.

You complete the course when every lesson is marked complete and your project passes its self-check rubric.

Prerequisites

None. This course starts from zero.

This course prepares you for

Official documentation used for this course