About this Module
Learn about the intended audience and the prerequisites for this module.
We'll cover the following
Who is this module for?
This module is for anyone who aims to have a deeper knowledge and proficiency in Git. This module offers an introduction to Git, so learners can safely assume that this module will help them understand and use Git.
Module structure
This module contains __ Twenty-one_ chapters, namely:
-
Introduction to Git:
This chapter provides an introduction to Git and its basic jargon.
-
Git Basics:
This chapter goes through the basics of Git, such as initializing, viewing, retrieving, adding files, and committing changes to a Git repository.
-
Clone a Repository:
This chapter teaches us cloning repositories and how to recover repositories.
-
Git Branching:
In this chapter, we’ll learn about Git branching and how to create branches.
-
Merging:
This chapter teaches us about merging branches into a single code.
-
Git Stash:
In this chapter, we’ll learn about Git stash and how it works.
-
Git Add Interactive:
This chapter introduces us to the `git add -i’ command.
-
Reflog:
In this chapter, we’ll learn about the reflog system in Git and how to get back a lost commit.
-
Cherry Picking:
This chapter will teach us about cherry picking and when cherry picking and when it will fail.
-
Git Rebase:
This chapter will teach us Git Rebase by giving an outline, and a walkthrough of a simple rebase.
-
Git Bisect:
In this chapter, we’ll learn about Git Bisect. It will go through the
git bisect
command and the difference between the~
and the^
operators. -
Fetching and Pulling Content:
This chapter will teach us how to fetch repositories using Git. It will also teach us the usage of the
git fetch
command. -
Working with Multiple Repositories:
This chapter will teach us about three-linked repositories and how to work with them.
-
Pushing Code:
This chapter will introduce us to pushing code to a Git repository. It will also teach us the concepts related to pushing, such as pushing branches and pushing to repositories with different content.
-
Git Submodules:
This chapter will teach us about submodules and the
git submodules
command. It also teaches us how git tracks the submodule’s state. -
Pull Requests:
This chapter goes through pull requests in Git. It also teaches us forking, branching and pulling a repository.
-
Git Log:
This chapter teaches us the
git log
command and the concepts of the log history in Git. -
Squashing Commits:
This chapter goes through the concept of squashing commits. It also teaches us the
git rebase -i
command. -
Bare Repositories:
This chapter will introduce us to bare repositories, and how to set them up. It will also teach us squashing the commits.
-
Cherry-Picking and Three-Way Merges:
This chapter will introduce us to three-way merges and how cherry-picking works with it.
-
Git Hooks:
This chapter will introduce us to Git hooks and how they work. It will also teach us about the
pre-commit
hook.