Chapter
1

Introduction to Version Control

Learn the fundamentals of Version Control Systems (VCS), their importance, types (Local, Centralized, Distributed), Git history, and core concepts
2

Getting Started with Git

Install Git on Windows, macOS, & Linux. Configure your user identity & editor. Learn essential setup commands like git config and git help.
3

Your First Git Repository

Initialize your first Git repository with git init. Understand file states, staging with git add, committing with git commit, and viewing changes.
4

Understanding Commits and History

Explore Git commits as snapshots. Learn about commit objects (SHA-1, author, message) and view history with git log, git show, and git diff.
5

Branching Fundamentals of Git

Git branching: create, list, switch, and delete branches. Understand HEAD and best practices for branch naming and isolation.
6

Merging Strategies with Git

Learn to combine work using git merge. Understand fast-forward vs. three-way merges, resolve merge conflicts, and abort merges if needed.
7

Remote Repositories in Git

Discover remote repositories for collaboration. Learn git clone, manage remotes (add, show, rename), and understand the origin remote.
8

Pushing, Fetching, and Pulling with Git

Synchronize with remotes using git fetch, git pull, and git push. Understand remote-tracking branches and the risks of force pushing.
9

Tagging Your Releases in Git

Mark important points like releases with Git tags. Create lightweight & annotated tags, push tags to remotes, and manage your version tags.
10

Undoing Changes in Git (Reset and Revert)

Learn to undo changes in Git: git restore, git reset, git commit –amend, and git revert. Understand how to safely rewrite history.
11

Stashing and Cleaning in Git

Temporarily save changes with git stash (push, pop, apply). Clean your working directory effectively using git clean options.
12

Understanding Rebasing with Git

Understand git rebase for a linear history. Compare rebase vs. merge, learn interactive rebasing (rebase -i), and resolve rebase conflicts.
13

Exploring and Rewriting History

Use git reflog for recovery. Master advanced git log filtering, search history with -S/-G, use git blame, and git shortlog.
14

Git Configuration and Aliases

Customize Git with system, global, & local configs (.gitconfig). Set up useful Git aliases to streamline your workflow and common commands.
15

Ignoring Files in Git to Keep them Out

Learn to ignore files in Git using .gitignore patterns and syntax. Understand global gitignore and how to untrack previously tracked files.
16

Git Submodules and Subtrees

Manage external dependencies with Git Submodules and Subtrees. Learn to add, update, and work with them, comparing their pros and cons.
17

Exploring Common Git Workflows

Explore popular Git workflows: Centralized, Feature Branch, Gitflow, and Forking. Choose the best workflow for your project and team size.
18

Git Hosting Platforms and Collaboration

Overview of GitHub, GitLab, Bitbucket. Understand Pull/Merge Requests, code reviews, and best practices for effective team collaboration.
19

Advanced Git Techniques

Dive into advanced Git: git bisect for debugging, cherry-pick commits, git worktree, Git Hooks, git notes, and git bundle for offline use.
Scroll to Top