Learn
🤖 AI Hub 📰 News 📖 Dictionary 🧰 Resources
Grow
💼 Jobs 🚀 Community 🏆 Challenges
Explore by Stage
🌑 Zero 📚 Learn 🔧 Practice 🏗 Build 🚀 Launch 💰 Earn
Account
Login Sign Up
🏗️HTML 🎨CSS ⚡JavaScript 🐙Git & GitHub ⚛️React Soon 📘TypeScript Soon 🐍Python 🗄️Database & SQL Soon 🌐Web Development Soon ☁️Cloud & DevOps Soon 🤖AI & ML Soon 📄Resume Prep Soon 🎤Interview Prep Soon 💼Freelancing Soon 🚀SaaS & Side Projects Soon 🤖Automation Soon
🐙

Git & GitHub

Learn version control: save every change to your code and collaborate with a team.

All (19) Beginner (9) Intermediate (6) Advanced (4)

🌱 Beginner 9 lessons

Start here. No experience needed.

Lesson 1
What Is Git and Why Do You Need It?
Understand what Git is, how commits work like save points in a game, how Git differs from GitHub, and the thre...
Lesson 2
Installing Git and Setting It Up for the First Time
Install Git on Windows, Mac or Linux, set your name and email with git config, and learn the few terminal comm...
Lesson 3
Your First Repository: init, status, add and commit
Create your first Git repository, check it with git status, stage files with git add, save snapshots with git ...
Lesson 4
Seeing History: git log, git diff and git show
Read your project history with git log, see exactly what changed with git diff and git diff --staged, and open...
Lesson 5
Undoing Mistakes Safely: restore, reset, revert and amend
Learn which Git undo to use for each mistake: git restore for files, git commit --amend for the last commit, g...
Lesson 6
.gitignore: Keeping Secret and Junk Files Out of Git
Learn to write a .gitignore file that keeps passwords, node_modules, system files and other junk out of your r...
Lesson 7
Creating Your GitHub Account and First Repository
Create a professional GitHub account, protect it with two-factor authentication, create your first repository ...
Lesson 8
Push, Pull and Clone: Syncing Your Code with GitHub
Connect your project to GitHub, push your commits, clone a repository on another computer and pull your teamma...
Lesson 9
Writing a Great README with Markdown
Learn Markdown basics and write a clear README for your GitHub project, with a ready template, badges, a profi...

⚙️ Intermediate 6 lessons

You know the basics. Build real skills.

Lesson 10
Branches: Working on New Features Safely
Learn what a Git branch really is, create and switch branches with git switch, name them clearly and keep main...
Lesson 11
Merging Branches and Fixing Merge Conflicts
Merge branches with git merge, understand fast-forward and merge commits, and fix merge conflicts calmly in th...
Lesson 12
Working with Remotes: fetch, pull and Tracking Branches
Understand origin and origin/main, the difference between git fetch and git pull, tracking branches, ahead and...
Lesson 13
Pull Requests and Code Review on GitHub
Open your first pull request on GitHub, write a clear description, review code kindly, push fixes, choose a me...
Lesson 14
Forks and Your First Open-Source Contribution
Learn the difference between fork, clone and branch, follow the complete fork workflow with an upstream remote...
Lesson 15
Deploy Your Website Free with GitHub Pages
Publish your HTML and CSS website for free with GitHub Pages, get a public link you can share, update it with ...

🚀 Advanced 4 lessons

Go deeper, write professional code and build projects.

Lesson 16
Rebase and Clean History: rebase, Interactive Rebase and Squash
Learn how git rebase replays your commits on a new base, when to choose rebase or merge, and how to clean up m...
Lesson 17
Stash, Cherry-pick and Tags: Handy Git Tools
Save half-done work with git stash, copy a single fix to another branch with git cherry-pick, and mark a relea...
Lesson 18
GitHub Actions: Automating Checks for Your Project
Write your first GitHub Actions workflow that checks every HTML page on each push and pull request, read the l...
Lesson 19
Project: Build the Fest Website as a Team with Git and GitHub
Build a college fest website as a team: set up a shared repository, plan work with issues, use feature branche...