inPace
All coursesكل الدورات

Git from zero to master

  • about 15 h of lessonsحوالي 15 ساعة من الدروس
  • 10 modulesوحدات · 32 lessonsدروس
  • Englishالإنجليزية

Everything about Git, from your first commit to the level of a senior developer. Staging and good commits, undoing anything (restore, reset, revert, reflog), branches and conflicts, GitHub with SSH, rebase and interactive rebase, team workflows, forks and tags, stash, cherry-pick, bisect, worktrees, how Git works inside, a rescue kit, hooks and signed commits. Every lesson is hands-on, and parts of freeCodeCamp's Git videos are optional extras on top.

byمن إعداد inPace checkedموثّق

gitgithubversion controldeveloper toolsbeginneradvanced

On these roadmaps:ضمن هذه المسارات: Git and GitHub, from zero to pro, Front-end web developer

What's insideمحتوى الدورة

Each module ends with tasks. The next module opens when they're done.تنتهي كل وحدة بمهام، وتُفتح الوحدة التالية عند إنجازها.

  1. Start: what Git is, and your first repository 3 lessonsدروس · 70 min د
    • What Git is, and why everyone uses itYouTubeيوتيوب20 min د
    • Install and set up GitYouTubeيوتيوب20 min د
    • Your first repositoryYouTubeيوتيوب30 min د
    Practical taskمهمة عمليةExplain in your wordsاشرح بكلماتكQuizاختبار · 4 questionsأسئلة
  2. Commits: staging, diff, history and good habits 3 lessonsدروس · 85 min د
    • Staging and seeing changes30 min د
    • Reading history25 min د
    • .gitignore and the perfect commitYouTubeيوتيوب30 min د
    Practical taskمهمة عمليةExplain in your wordsاشرح بكلماتكQuizاختبار · 4 questionsأسئلة
  3. Undo anything 3 lessonsدروس · 85 min د
    • Undo before you commit20 min د
    • Undo commits: amend, revert and resetYouTubeيوتيوب40 min د
    • The reflog: Git's safety net25 min د
    Practical taskمهمة عمليةExplain in your wordsاشرح بكلماتكQuizاختبار · 4 questionsأسئلة
  4. Branches, merging and conflicts 3 lessonsدروس · 95 min د
    • Branches are just pointersYouTubeيوتيوب30 min د
    • Merging30 min د
    • Merge conflictsYouTubeيوتيوب35 min د
    Practical taskمهمة عمليةExplain in your wordsاشرح بكلماتكQuizاختبار · 4 questionsأسئلة
  5. GitHub and remotes: push, pull, fetch 3 lessonsدروس · 95 min د
    • Connect to GitHub with an SSH keyYouTubeيوتيوب30 min د
    • clone, push, fetch and pull35 min د
    • When push is refused30 min د
    Practical taskمهمة عمليةExplain in your wordsاشرح بكلماتكQuizاختبار · 4 questionsأسئلة
  6. Rebase: clean history 3 lessonsدروس · 90 min د
    • Merge or rebase?YouTubeيوتيوب30 min د
    • Interactive rebase: edit your historyYouTubeيوتيوب40 min د
    • Conflicts during a rebase20 min د
    Practical taskمهمة عمليةExplain in your wordsاشرح بكلماتكQuizاختبار · 4 questionsأسئلة
  7. Teamwork: workflows, forks and tags 3 lessonsدروس · 85 min د
    • Branching strategiesYouTubeيوتيوب30 min د
    • Forks and contributing to other projectsYouTubeيوتيوب30 min د
    • Tags and versions25 min د
    Practical taskمهمة عمليةExplain in your wordsاشرح بكلماتكQuizاختبار · 4 questionsأسئلة
  8. Power tools 4 lessonsدروس · 105 min د
    • stash: put work aside20 min د
    • cherry-pick: copy one commitYouTubeيوتيوب20 min د
    • Find things: log -S, blame and bisectYouTubeيوتيوب35 min د
    • Worktrees, submodules and big filesYouTubeيوتيوب30 min د
    Practical taskمهمة عمليةExplain in your wordsاشرح بكلماتكQuizاختبار · 4 questionsأسئلة
  9. Inside Git 3 lessonsدروس · 90 min د
    • Objects: blobs, trees and commits35 min د
    • Refs, HEAD and detached HEAD30 min د
    • What merge and rebase really do25 min د
    Practical taskمهمة عمليةExplain in your wordsاشرح بكلماتكQuizاختبار · 4 questionsأسئلة
  10. Master level: rescue, setup, hooks and signing 4 lessonsدروس · 95 min د
    • The rescue kitYouTubeيوتيوب35 min د
    • Set Git up like a pro30 min د
    • Signed commits20 min د
    • Where to go nextoptionalاختياري10 min د
    Practical taskمهمة عمليةExplain in your wordsاشرح بكلماتكQuizاختبار · 4 questionsأسئلة

Read a lesson firstاقرأ درسًا أولًا

What Git is, and why everyone uses it

Git is a version control system: it remembers every version of your project, who changed what, when and why. You can go back to any version, work on two ideas at once without breaking anything, and combine your work with other people's. Almost every software team in the world uses it.

  • Git is the program on your computer. It works offline.
  • GitHub is a website that keeps a copy of your Git project online, so others can see it, download it and send you changes. (GitLab and Bitbucket are similar sites.)

This course takes you from zero to the level of a senior developer: everyday commands first, then undoing mistakes, branches, teamwork, rewriting history, the tools experts use, and how Git works inside.

Optional video above. Part of freeCodeCamp's Git and GitHub for Beginners, Crash Course, from 1:10 to 5:20. Everything you need is in the text below, so watch it only if it helps you: inPace remembers where you stopped.

The three places your work lives

Every file in a Git project is in one of three places:

flowchart LR
    W[Working folder<br>your files] -->|git add| S[Staging area<br>the next snapshot]
    S -->|git commit| R[Repository<br>saved history]
    R -->|git restore / switch| W
  • Working folder: the files you see and edit.
  • Staging area (also called the index): the changes you've chosen for the next save.
  • Repository: the history of saved snapshots, called commits, kept in a hidden .git folder.

A commit is a snapshot of the whole project at one moment, with a message saying why. Commits form a chain: each one points to the one before it.

The plan

Module What you learn
1 Install, set up, your first repository
2 Staging, diff, history, .gitignore, good commits
3 Undo anything: restore, reset, revert, reflog
4 Branches, merging, conflicts
5 GitHub, SSH keys, push, pull, fetch
6 Rebase and interactive rebase
7 Teamwork: branching strategies, forks, pull requests, tags
8 Power tools: stash, cherry-pick, bisect, blame, worktrees
9 Inside Git: objects, refs, HEAD
10 Rescue kit, pro setup, hooks, signing

About 6 weeks at 3 to 4 hours a week. The written lessons are the course. Some have a part of a freeCodeCamp video on top, as an optional extra. Next, take GitHub: pull requests, the CLI and Actions.

Licenseالرخصة: CC-BY-4.0 · Updatedآخر تحديث 2026-11-14

Written by inPace. Optional videos: freeCodeCamp.org (Git and GitHub for Beginners; Git for Professionals and Advanced Git, made with Tower), on YouTube.

Add to inPaceأضف إلى inPace