About this Module

Learn about the intended audience and the prerequisites for this module.

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:

  1. Introduction to Git:

    This chapter provides an introduction to Git and its basic jargon.

  2. Git Basics:

    This chapter goes through the basics of Git, such as initializing, viewing, retrieving, adding files, and committing changes to a Git repository.

  3. Clone a Repository:

    This chapter teaches us cloning repositories and how to recover repositories.

  4. Git Branching:

    In this chapter, we’ll learn about Git branching and how to create branches.

  5. Merging:

    This chapter teaches us about merging branches into a single code.

  6. Git Stash:

    In this chapter, we’ll learn about Git stash and how it works.

  7. Git Add Interactive:

    This chapter introduces us to the `git add -i’ command.

  8. Reflog:

    In this chapter, we’ll learn about the reflog system in Git and how to get back a lost commit.

  9. Cherry Picking:

    This chapter will teach us about cherry picking and when cherry picking and when it will fail.

  10. Git Rebase:

    This chapter will teach us Git Rebase by giving an outline, and a walkthrough of a simple rebase.

  11. 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.

  12. 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.

  13. Working with Multiple Repositories:

    This chapter will teach us about three-linked repositories and how to work with them.

  14. 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.

  15. 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.

  16. Pull Requests:

    This chapter goes through pull requests in Git. It also teaches us forking, branching and pulling a repository.

  17. Git Log:

    This chapter teaches us the git log command and the concepts of the log history in Git.

  18. Squashing Commits:

    This chapter goes through the concept of squashing commits. It also teaches us the git rebase -i command.

  19. Bare Repositories:

    This chapter will introduce us to bare repositories, and how to set them up. It will also teach us squashing the commits.

  20. Cherry-Picking and Three-Way Merges:

    This chapter will introduce us to three-way merges and how cherry-picking works with it.

  21. Git Hooks:

    This chapter will introduce us to Git hooks and how they work. It will also teach us about the pre-commit hook.