Git Basics
50 lessons
Version control with Git — repositories, commits, branches, and GitHub basics.
-
1 What Is Git?
An introduction to version control and why Git is the industry standard for tracking changes.
-
2 What Is a Repository?
Understanding the Git repository — the .git folder, working directory, and staging area.
-
3 git init
Creating a new Git repository with git init and what happens behind the scenes.
-
4 git add
Staging changes with git add — how to prepare files for the next commit.
-
5 git commit
Saving snapshots to history with git commit and writing good commit messages.
-
6 git status
Inspecting the state of your repository with git status — your Git dashboard.
-
7 git log
Exploring commit history with git log — viewing, filtering, and formatting past commits.
-
8 GitHub Basics
Connecting to remote repositories, pushing, pulling, and collaborating on GitHub.
-
9 git clone
Downloading repositories with git clone — shallow clones, depth limits, and clone workflows.
-
10 git push & git pull
Syncing with remotes using git push and git pull — upstream tracking and force push safety.
-
11 git branch
Creating and managing branches with git branch — isolating features and parallel development.
-
12 git merge
Combining branches with git merge — fast-forward merges, three-way merges, and merge commits.
-
13 git checkout & git switch
Switching branches and restoring files with git checkout and the newer git switch command.
-
14 git stash
Saving uncommitted changes temporarily with git stash — switching contexts without losing work.
-
15 git diff
Inspecting changes with git diff — comparing working tree, staged, and committed states.
-
16 git revert
Undoing commits safely with git revert — creating an inverse commit without rewriting history.
-
17 git reset
Rewriting local history with git reset — soft, mixed, and hard modes and when to use each.
-
18 .gitignore
Excluding files from Git with .gitignore — patterns, global ignores, and unignoring files.
-
19 Merge Conflicts
Resolving merge conflicts step by step — understanding conflict markers and resolution strategies.
-
20 Git Flow Workflow
The Git Flow branching model — feature, release, and hotfix branches for structured releases.
-
21 Pull Requests
Opening and reviewing pull requests on GitHub — the collaboration workflow that powers open source.
-
22 Code Review Basics
Reviewing pull requests effectively — giving constructive feedback and using review checklists.
-
23 git remote
Managing remote repositories with git remote — adding, renaming, and removing upstream connections.
-
24 git fetch
Downloading remote changes with git fetch — the safe alternative to git pull that does not merge.
-
25 git rebase
Replaying commits with git rebase — keeping history linear and resolving rebase conflicts.
-
26 git cherry-pick
Applying specific commits with git cherry-pick — moving individual commits between branches.
-
27 git tag
Marking releases with git tag — lightweight and annotated tags for version management.
-
28 Git Hooks
Automating workflows with Git hooks — pre-commit, pre-push, and commit-msg scripts.
-
29 GitHub Actions Intro
Automating workflows with GitHub Actions — CI/CD pipelines triggered by Git events.
-
30 Git Best Practices
Professional Git habits — commit hygiene, branch strategies, and workflows for clean history.
-
31 Interactive Rebase
A comprehensive guide to Interactive Rebase in Git, covering core concepts, implementation details, and practical examples.
-
32 Cherry Picking Commits
A comprehensive guide to Cherry Picking Commits in Git, covering core concepts, implementation details, and practical examples.
-
33 Git Bisect Debugging
A comprehensive guide to Git Bisect Debugging in Git, covering core concepts, implementation details, and practical examples.
-
34 Reflog and Recovery
A comprehensive guide to Reflog and Recovery in Git, covering core concepts, implementation details, and practical examples.
-
35 Git Stash Management
A comprehensive guide to Git Stash Management in Git, covering core concepts, implementation details, and practical examples.
-
36 Submodules vs Subtrees
A comprehensive guide to Submodules vs Subtrees in Git, covering core concepts, implementation details, and practical examples.
-
37 Git Hooks Automation
A comprehensive guide to Git Hooks Automation in Git, covering core concepts, implementation details, and practical examples.
-
38 Custom Git Aliases
A comprehensive guide to Custom Git Aliases in Git, covering core concepts, implementation details, and practical examples.
-
39 Sparse Checkout
A comprehensive guide to Sparse Checkout in Git, covering core concepts, implementation details, and practical examples.
-
40 Git Worktree
A comprehensive guide to Git Worktree in Git, covering core concepts, implementation details, and practical examples.
-
41 Refspec and Push Rules
A comprehensive guide to Refspec and Push Rules in Git, covering core concepts, implementation details, and practical examples.
-
42 Filter Branch and Filter Repo
A comprehensive guide to Filter Branch and Filter Repo in Git, covering core concepts, implementation details, and practical examples.
-
43 Git LFS for Large Files
A comprehensive guide to Git LFS for Large Files in Git, covering core concepts, implementation details, and practical examples.
-
44 Merge Strategies Explained
A comprehensive guide to Merge Strategies Explained in Git, covering core concepts, implementation details, and practical examples.
-
45 Rebase vs Merge Decisions
A comprehensive guide to Rebase vs Merge Decisions in Git, covering core concepts, implementation details, and practical examples.
-
46 Git Attributes
A comprehensive guide to Git Attributes in Git, covering core concepts, implementation details, and practical examples.
-
47 Signing Commits with GPG
A comprehensive guide to Signing Commits with GPG in Git, covering core concepts, implementation details, and practical examples.
-
48 Git Notes
A comprehensive guide to Git Notes in Git, covering core concepts, implementation details, and practical examples.
-
49 Bundle and Archive
A comprehensive guide to Bundle and Archive in Git, covering core concepts, implementation details, and practical examples.
-
50 Git Internals Object Model
A comprehensive guide to Git Internals Object Model in Git, covering core concepts, implementation details, and practical examples.
Learning Stages
Est. total: 14h 25m- 1
Foundation
13 lessons · 2h 10mBuild a solid foundation with the essential concepts and syntax.
0/13 Core
13 lessons · 3h 15mDeepen your understanding with core patterns and common use cases.
0/13Intermediate
12 lessons · 4hTackle intermediate topics and start combining concepts fluently.
0/12Advanced
12 lessons · 5hMaster advanced techniques and apply them to real-world problems.
0/12
Completion Standard
Complete 80% lessons, 60% exercises, and 50% projects to master this topic.
- Lessons0 / 200%
- Exercises0 / 1000%
- Projects0 / 100%
Skill Assessment
0 / 20 mastered- 0Git FundamentalsFoundation0 / 7 lessons · 0%
- Branching & MergingCore0 / 4 lessons · 0%
- Remote RepositoriesCore0 / 5 lessons · 0%
- Advanced Git CommandsIntermediate0 / 7 lessons · 0%
- Git WorkflowsIntermediate0 / 3 lessons · 0%
- CollaborationCore0 / 2 lessons · 0%
- Git TroubleshootingAdvanced0 / 3 lessons · 0%
- Git AutomationAdvanced0 / 3 lessons · 0%
+12 more skills
Build real projects
Apply what you learned by building guided projects with starter code and solutions.
Decode error messages
Plain-English explanations of common errors — what they mean, why they happen, and how to fix them.