Git Essentials for Beginners

Video description

Version Control has always been part of the software development lifecycle to facilitate programmers to restore the previous versions and assist with release management. Git is a popular open-source distributed version control software and manages hundreds of branches with hundreds of programmers very efficiently.

This course includes the following three mini-courses to give you a wholesome experience:

- Git essentials

- Merging types, branching type, stash, and rebase

- Searching, rewriting, history, and reset

We will start with Git installation and learn all the fundamentals in a step-by-step approach. We will also cover Git architecture, which is fundamental in understanding Git. This will be followed by creating Git repositories and adding, changing, and deleting files. You will learn to commit changes to Git, compare commits, and review commit logs. We will also discuss how to undo changes and ignore files based on name, regular expression, and folder name.

Finally, you will learn to use the git log command efficiently to filter the commit log.

By the end of the course, you will gain a strong understanding of the fundamentals of Git, which will also aid in understanding GitHub, BitBucket, and so on.

What You Will Learn

  • Understand Git architecture
  • Learn how to revert or undo file changes
  • Explain how to work with tags
  • Explore how to add, delete, move, and edit files
  • Explore how to rebase or rewrite history
  • Understand working with aliases

Audience

This course is for cloud engineers, DevOps engineers, and architects. Developers, programmers, software managers, and modern operations managers can also take up this course to upskill them.

About The Author

Coding Gears | Train Your Brain: GlobalETraining (brand name - CodingGears) offers self-paced technical courses and makes them easy to learn.

They have been in the IT training business for many years, offering training courses in Unix, Windows, C#, Java, Python programming, SQL server, manual testing, automation, and so on. Their instructors have 20+ years of experience in various technical areas such as software development, software testing, Windows systems, and network administration, Unix/Linux systems and network administration, virtualization technologies, storage, shell scripting, database management systems (MS SQL Server, MySQL, IBM DB2, Cassandra), containerization (Dockers), Mesos, Marathon, Jenkins, Jira, Elastic Cloud Storage (ECS), Gluster file system, CoreOS, Ansible, and other areas.

CodingGears/GlobalETraining has mentored thousands of students for over a decade and has extensive experience in delivering training—both in-class and online.

Table of contents

  1. Chapter 1 : Course 1: Git Essentials
    1. Course Overview
  2. Chapter 2 : Getting Started
    1. Module Overview
    2. What is a Version Control System
    3. VCS Types
    4. Little History
    5. What is Git? Why Git?
    6. Git Landscape
  3. Chapter 3 : Git Installation and Basic Concepts
    1. Overview
    2. Git Installation – Ubuntu 20.04
    3. Git Installation - MAC
    4. Git Installation - Windows 10
    5. Git Completion
    6. Git Configuration
    7. Git Help
    8. Initializing a Git Repository and ".git" Folder
    9. My First Commit
    10. Git Clone
    11. A Note on Commit Messages
  4. Chapter 4 : Git Architecture and Basic Operations
    1. Module Overview
    2. Git Architecture (three Stages) and Workflow
    3. Hash values (SHA-1)
    4. The HEAD Pointer
    5. Add and Edit Files
    6. Move, Rename and Delete Files
    7. View Changes
    8. Single Step to Add and Commit
    9. "add" Dry-Run
    10. Git Diff - Part 1
    11. Git Diff - Part 2
  5. Chapter 5 : Revert the Changes
    1. Module Overview
    2. Rollback File Changes
    3. Amend Commits
    4. Rollback a Commit
    5. Remove Untracked Files
  6. Chapter 6 : Ignore Files
    1. Module Overview
    2. Ignoring Files
    3. Track Empty Directories
    4. Ignore Tracked Files
  7. Chapter 7 : Git Branches
    1. Module Overview
    2. Understanding Branches
    3. Create Branches and Switch
    4. Rename Branches
    5. Delete Branches
    6. Merging Branches
    7. Git Prompt Script
  8. Chapter 8 : Tags
    1. Module Overview
    2. What are Tags? (and Types)
    3. Create, List and Delete Tags
    4. Tags folder in ".git"
    5. Retagging/Replacing Old Tags
    6. Checkout Tags and Detached HEAD
  9. Chapter 9 : Aliases
    1. Module Overview
    2. Git Aliases
    3. Git Alias Sample List
  10. Chapter 10 : Remote Repository and Commit Log Filtering
    1. Module Overview
    2. Clone a Remote Repository
    3. Review the Cloned Repo
    4. Commit Log Filtering - Part 1
    5. Commit Log Filtering - Part 2
    6. Commit Log Filtering - Part 3
  11. Chapter 11 : Course 1: Conclusion
    1. Congratulations and What's Next?
  12. Chapter 12 : Course 2: Merging Types, Branching Types, Stash, and Rebase
    1. Course Overview
  13. Chapter 13 : Merging and Conflicts
    1. Module Overview
    2. Merging Types
    3. Fast Forward Demo
    4. 3-Way Merge Demo
    5. Simple Merge Conflicts
    6. Merge Conflicts Demo
  14. Chapter 14 : Branching Conflicts
    1. Module Overview
    2. Branching Strategies
  15. Chapter 15 : Stashing
    1. Module Overview
    2. What is Stashing?
    3. Stash Demo 1
    4. Stash Demo 2
    5. Stashing Techniques - Part 1
    6. Stashing Techniques - Part 2
    7. Creating a Branch from a Stash
  16. Chapter 16 : Rebasing
    1. Module Overview
    2. What is Rebasing?
    3. Rebase Demo
  17. Chapter 17 : Course 3: Searching, Rewriting History and Reset
    1. Course Overview
  18. Chapter 18 : Searching
    1. Overview
    2. Git Grep - Part 1
    3. Git Grep - Part 2
  19. Chapter 19 : Rewriting History
    1. Overview
    2. What is "Rewriting History"?
    3. Update the Last commit
    4. Rebase - Part 1
    5. Rebase - Part 2 (Squash)
    6. Rebase - Part 3 (Drop Commit)
    7. Rebase - Part 4 (Reorder Commits)
  20. Chapter 20 : Git Reset
    1. Overview
    2. Reset - Soft, Mixed, and Hard
  21. Chapter 21 : Course 3: Conclusion
    1. Congrats

Product information

  • Title: Git Essentials for Beginners
  • Author(s): Coding Gears | Train Your Brain
  • Release date: March 2022
  • Publisher(s): Packt Publishing
  • ISBN: 9781803230887