| № | Chapter |
|---|---|
| 1 | Introduction to Version ControlLearn the fundamentals of Version Control Systems (VCS), their importance, types (Local, Centralized, Distributed), Git history, and core concepts |
| 2 | Getting Started with GitInstall Git on Windows, macOS, & Linux. Configure your user identity & editor. Learn essential setup commands like git config and git help. |
| 3 | Your First Git RepositoryInitialize 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 HistoryExplore 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 GitGit branching: create, list, switch, and delete branches. Understand HEAD and best practices for branch naming and isolation. |
| 6 | Merging Strategies with GitLearn 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 GitDiscover remote repositories for collaboration. Learn git clone, manage remotes (add, show, rename), and understand the origin remote. |
| 8 | Pushing, Fetching, and Pulling with GitSynchronize 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 GitMark 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 GitTemporarily save changes with git stash (push, pop, apply). Clean your working directory effectively using git clean options. |
| 12 | Understanding Rebasing with GitUnderstand git rebase for a linear history. Compare rebase vs. merge, learn interactive rebasing (rebase -i), and resolve rebase conflicts. |
| 13 | Exploring and Rewriting HistoryUse git reflog for recovery. Master advanced git log filtering, search history with -S/-G, use git blame, and git shortlog. |
| 14 | Git Configuration and AliasesCustomize 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 OutLearn to ignore files in Git using .gitignore patterns and syntax. Understand global gitignore and how to untrack previously tracked files. |
| 16 | Git Submodules and SubtreesManage external dependencies with Git Submodules and Subtrees. Learn to add, update, and work with them, comparing their pros and cons. |
| 17 | Exploring Common Git WorkflowsExplore popular Git workflows: Centralized, Feature Branch, Gitflow, and Forking. Choose the best workflow for your project and team size. |
| 18 | Git Hosting Platforms and CollaborationOverview of GitHub, GitLab, Bitbucket. Understand Pull/Merge Requests, code reviews, and best practices for effective team collaboration. |
| 19 | Advanced Git TechniquesDive into advanced Git: git bisect for debugging, cherry-pick commits, git worktree, Git Hooks, git notes, and git bundle for offline use. |
