DevOps · Source control · Collaboration

Git & GitHub Fundamentals

Learn the Git model first, then build practical workflows for commits, branches, merges, remotes, GitHub collaboration, recovery and releases. The course contains 12 complete modules, a guided lab in every module, a collaborative release capstone and a 35-minute randomized assessment.

Start with the model

Know where a change lives before you publish it.

Git becomes much easier when the working tree, staging area, commits, branches and remote-tracking references are treated as distinct states rather than memorized commands.

Local Git

Create auditable history

Working tree
↓ git add
Index / staging
↓ git commit
Local history

Most inspection, branching and committing works locally without contacting GitHub.

GitHub collaboration

Share and review safely

Feature branch
↓ push
Pull request
↓ review + checks
Protected integration

GitHub adds shared remotes, review, permissions, rules and release collaboration around the Git graph.

Mental model in one minute

Edit → stage → commit → branch/review → push → release.

AUTHORworking tree · index · commits
BRANCH
COLLABORATEremote · pull request · review
RELEASE
DELIVERmain · tag · release reference

Core labs use local repositories and bare remotes so every learner can validate the Git mechanics without putting credentials into training scripts. GitHub-specific modules explain HTTPS/SSH authentication, forks, pull requests and repository protection separately.

Course modules

Build the graph, collaborate, then learn recovery.

Every module includes objectives, conceptual explanation, copy-pasteable commands, a guided lab, expected results, troubleshooting guidance and a knowledge check.

01

Version control and the Git model

Understand why distributed version control exists and how the working tree, index, commits and references fit together.

Open module →
02

Install, configure and get help

Configure identity deliberately, inspect configuration scope and use built-in documentation before relying on memorized commands.

Open module →
03

Status, staging and commits

Create focused commits by inspecting changes, selectively staging content and verifying the snapshot before committing.

Open module →
04

History, diff and object inspection

Read repository history efficiently and compare commits, branches and files using Git object identifiers.

Open module →
05

Branches, switch and merge

Create isolated lines of work, integrate them deliberately and distinguish fast-forward from merge-commit histories.

Open module →
06

Merge conflicts and resolution

Resolve conflicting edits methodically by understanding base, ours and theirs instead of choosing a side blindly.

Open module →
07

Remotes, fetch, pull and push

Understand remote-tracking references and exchange commits with a shared repository without confusing fetch, pull and push.

Open module →
08

GitHub repositories and authentication

Connect the Git transport model to GitHub using HTTPS or SSH while separating identity, authorization and credentials.

Open module →
09

Forks, pull requests and reviews

Understand GitHub collaboration: feature branches, forks, pull requests, review evidence and protected integration paths.

Open module →
10

.gitignore, tags and release references

Keep generated or sensitive files out of normal tracking and mark important commits with durable release references.

Open module →
11

Undo, recovery, stash and reflog

Choose the least destructive recovery tool for the state you need to change: working tree, index, published history or local reference movement.

Open module →
12

Capstone: collaborative release workflow

Combine local commits, branching, review, a shared remote and an annotated release tag into one auditable workflow.

Open module →
Prerequisites

Only basic command-line confidence is required.

GitHub credentials are optional for the core labs; the included validator uses isolated local repositories and a local bare remote.

Linux / terminal basics

Recommended. Learners should be comfortable creating files, changing directories and running commands.

Git client

Git 2.23 or newer is recommended so labs can use git switch and git restore.

GitHub account

Optional for the core course validation. Use a learner-owned repository when practicing real push, pull-request or ruleset workflows online.

Knowledge assessment

Prove you understand Git behavior, not just command syntax.

The assessment selects 30 questions from an 84-question bank covering the Git model, staging and commits, history, branching and merging, remotes and authentication, collaboration and governance, recovery, tags and troubleshooting. Pass mark: 75%. Time limit: 35 minutes.

12 MODULES30 RANDOM QUESTIONS · 35 MINPASS ≥ 75%OPTIONAL CERTIFICATION

Maximum two attempts per 24 hours. Learning and assessment are free. A passing result enables the optional ₹499 GST-inclusive Certificate of Successful Completion pathway.

30 questions · 35 minutes · timer starts when the server creates the attempt · no pause

Course capstone

Build an auditable collaborative release workflow.

Module 12 combines feature branches, review diffs, a shared bare remote, concurrent work, integration, publication and an annotated release tag. The same Git graph maps directly to a GitHub pull-request and release workflow.

CommitBranchReviewMergePushTag