Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Git and GitHub for DevOps Engineers
Rating: 4.7 out of 5(2,077 ratings)
11,592 students

Git and GitHub for DevOps Engineers

DevOps Engineer Roles on Git and GitHub from Creating a Repository to Releasing Code onto Production Environment
Last updated 7/2026
English
German [Auto],English [Auto],

What you'll learn

  • Able to learn how to use Git & GitHub to manage their job as a DevOps engineer
  • DevOps Engineer roles on Git and GitHub
  • A starting point to DevOps journey

Course content

12 sections • 54 lectures • 6h 15m total length
  • Course Overview3:06

    This lecture walks through the full Git and GitHub for DevOps Engineers curriculum so you know what you'll learn. It covers:

    • version control basics and installing Git on Windows and Linux

    • working with Git: repositories, the stages of Git, and comparing changes

    • working with GitHub: creating a repository, cloning, pushing, resolving push failures, and SSH authentication

    • Git commits and Git branches, including branching strategies and merge conflicts

    • team workflows: forks, pull requests, private repositories, and protected branches

    • reverting changes and using a .gitignore file

    • a final real-time project that takes code from the dev branch through UAT to production

  • Before Starting1:40

    A few housekeeping points before the hands-on labs begin.

    • Prerequisites: Basic Linux commands are used throughout. If you're new to Linux, you can follow along, or take the Linux for Cloud and DevOps Engineers course for the fundamentals. The project uses multiple AWS EC2 instances, so some EC2 knowledge helps.

    • Resources you'll need: An AWS account, with a separate lecture at the end of the course on how to create one. You don't need a GitHub account beforehand, because it's created during the course.

    • Course materials: All documents used in the course are available at the GitHub URL provided.

  • Resources to start0:15
  • About Instructor0:36

    Meet J.R. Shenker, a DevOps consultant with ten plus years of Linux experience in the IoT sector, teaching on Udemy and creating Galaxy Technologies content on YouTube.

  • What is Version Control system6:09

    When several developers work on the same project, sharing code by copying it between them quickly becomes unmanageable. This lecture explains the problem and how version control solves it. A version control system records every change to your code, shows who made it and when, makes collaboration easier, and lets you revert to an earlier version. It then compares the three types, local, centralized, and distributed, and why the distributed model is the most widely used. Each developer has a full copy of the code, so work continues even if the central repository is unavailable. Basic terms like push and pull are introduced, and the lecture closes with why this course uses Git.

  • Installing Git on Windows2:36

    This lecture sets up the Git environment for the course, which uses two developers: Developer 1 on Windows (the presenter's laptop) and Developer 2 on an Amazon Linux EC2 instance, so you see Git on both platforms. It walks through downloading the 64-bit Git installer from the official site, installing it with the default settings (admin rights required), and launching Git Bash. Git Bash lets you run Linux commands such as ls, cd, and cat on Windows. The next lecture covers Git on Linux.

  • Setup An EC2 Instance and Install Git on Linux8:27

    Developer 2 needs a Linux system, so this lecture uses AWS to create one. It shows how to launch an Amazon Linux EC2 instance (t2.micro, free tier) in the Mumbai region, tag it as the Developer 2 system, and create a security group with SSH port 22 open. It also covers creating and downloading a key pair. You then connect to the instance with MobaXterm using the ec2-user account and the key pair, switch to the root user, install Git with yum install git, and verify it with git --version. If you don't have an AWS account yet, or want a fuller EC2 walkthrough, the course has separate lectures at the end.

  • Working with Git bash4:26

    Before you start committing, Git needs to know who you are, so every change can be traced to the right developer. This lecture shows how to set your username and email with git config --global user.name and git config --global user.email. It's a one-time setup that you can change later. You set it up on the Linux system (Developer 2), check the existing values on the Windows system (Developer 1), and see how to create a desktop shortcut for Git Bash. You can view your settings by running the same commands without a value, or list everything with git config --list.

Requirements

  • Linux Basics

Description

Not sure where to start your DevOps journey? or

Want to know what kind of activities a DevOps Engineer does on Git and GitHub in the real world? or

Would you like to set up a production-ready Git environment for your developers? Then this course is for you. I have created this course from the perspective of a DevOps Engineer who is not writing application code much.  I have taken a real-world project to explain from creating a repository to releasing code onto the production environment. This gives a complete understanding of the power of Git and GitHub. I hope you will enjoy this course.


We have covered various concepts like


What is a version control system

installing git on windows, Linux, and mac

working with git bash

creating repositories

git stages

git workflows

creating GitHub account

cloning repository

push code onto the remote repository

git clone vs. git pull

git remote add

working with commits on git

git branches

branching strategies

committing changes on git branches

resolving merge conflicts

Fork a repository

creating a pull request

working with private repositories

adding a collaborator

creating protected branches

tagging a commit

reverted changes

using .gitignore file

git rebase

git fetch vs. git pull

how the git project does work

setup git repository and branches for a new project

allowing developers to check in code

Enabling DevOps workflow on the Dev branch

pull request (PR) to merge code from Dev to production

Release code onto production

Who this course is for:

  • Any IT professional who wants to start their career on DevOps
  • DevOps Engineer who want to get complete picture of Git & GitHub activities