
Explore core git and github workflows for devops, from setting up git and ssh authentication to creating, cloning, committing, branching, and collaborating on repositories with pull requests and protected branches.
Review prerequisites, including Linux basics, AWS EC2 familiarity, and account setup for AWS and GitHub, and access updated resources on GitHub with Q&A and community support.
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.
Learn how a version control system tracks changes, enables collaboration, and lets you revert updates, using Git as the primary example for local, centralized, and distributed workflows.
Install git on Windows (64-bit) with admin privileges and launch git bash to run Linux commands from Windows, preparing a cross-platform devops workflow.
Launch a linux ec2 instance on aws and install git on the server using yum, then verify the git version.
Learn to configure Git on Linux and Windows using Git Bash, set your global username and email with git config --global, and verify with git config --list.
Create and initialize a git repository with git init, note the dot git directory marks the repo, and configure your identity to track commits.
Explore how git tracks files from the working area to the staging area and finally to the local repository through git add, git commit, git status, and git log.
Master the git workflow by managing the staging area and working directory. Learn to use git add, git status, and git commit to track changes in the local repository.
Compare code changes across the working directory, staging area, and local repository using git diff and git diff --staged, visualizing additions, deletions, and renames.
Compare code changes across commits using git diff, view commit history with git log and head pointers, and understand added or removed files in each commit within a local repository.
Learn why teams use GitHub as a code hosting platform to share repositories, enabling distributed version control and collaboration through push and pull between local laptops and cloud servers.
Learn to create and sign in to a GitHub account, verify your email, and join a free plan. Explore your profile and repositories and review account settings and activity indicators.
learn how to create a GitHub repository, choose public or private access, initialize with a readme and license, and clone the repo to your local system.
Clone a GitHub repository to your local system with git clone using the repository URL, then learn how local and remote repositories interact and verify with git status.
Push local changes to the remote repository with git push origin master, then have teammates pull via clone; manage commits, staging, and branches to keep code synchronized.
Learn how two developers collaborate on a GitHub hosted project by pulling, cloning, editing contact.html, committing changes, and pushing to origin master, with proper credentials and version history.
Explains the difference between git clone and git pull, and shows when to clone a repository not existing locally versus pulling updates to synchronize with the remote.
Discover how to push changes to a remote repository, avoid rejections by pulling first, merge updates, and use branches to prevent conflicts.
Learn to connect to GitHub with SSH by generating SSH keys and starting SSH agent. Add public key to GitHub to enable passwordless clone and push on Linux and Windows.
Link your local repository to a remote on GitHub using git remote add, then push commits to origin and share code with collaborators.
Learn how a Java developer sets up a Maven eclipse project, initializes a Git repository, and pushes code to a remote GitHub repository using a standard push workflow.
Develop proficiency in viewing and comparing git commits using git log and git diff, understand head and origin master on local and remote repositories, and explore commits on GitHub.
Use git show to view changes in a specific commit by sha or head. Use git annotate to see who changed each line in a file and track bugs.
Explore how to identify commits on GitHub, trace who changed what, and inspect changes with git log, git show, and blame, including viewing previous commits and switching versions.
Learn to commit changes directly on GitHub by creating or editing files, previewing changes, and pushing to the master branch, including reading readme.md and using git pull.
Discover why branches matter and how master and feature branches enable safe deployments. Follow a workflow from code commit to build, tests, artifacts, and production deployment using branching strategies.
Adopt a branching strategy that uses test, quality, and production branches to safely deploy code from test to production, with versioned releases and ongoing feature development.
Learn to create a test branch from master, make commits on that branch as a snapshot of working code, and merge changes to the main branch via a pull request.
Create and manage branches in Git, switch between master and test, and use git branch, git checkout, and git switch to track commits across local and remote repositories.
Create and switch between test and master branches, commit changes on each, and push or merge to synchronize local work with the remote repository.
Learn how to merge changes from a test branch into the master production branch using git merge, switch to master, and push updates to the remote repository.
Resolve git merge conflicts by simulating master and dev branch updates to file two, edit to include both changes, stage, commit, and push to the remote repository.
Fork a repository on GitHub to copy a project into your own account from another, creating an independent workspace for development and future pull requests.
demonstrates forking and cloning a repository, pushing changes, and creating a pull request from one account to another; review, discuss, and merge the pull request to update the target repository.
Learn to create private repositories, switch between public and private, create from the UI or Git CLI, and manage access using SSH keys and credentials; clone, commit, and push securely.
Learn how to add a collaborator to a GitHub repository and manage access for seamless collaboration. Discover how collaborators can push changes directly versus creating pull requests.
Protect the master branch so nobody can commit directly; require pull request reviews and status checks before merging, and manage merges from dev to master in a controlled DevOps workflow.
Tag commits to mark working points in git history, then reference and push tags like version 1.0 and 1.1 to easily roll back to a stable state.
Learn to revert changes from the working directory, staging area, or local repository using git restore and git checkout, including handling newly created files and multiple edits.
Revert changes across the staging area, working directory, and local repository using git restore, git restore --staged, and git reset, with practical examples.
Learn to use a .gitignore file to ignore unwanted files and prevent pushes, using patterns like file names and *.txt with git status, add, commit, and push.
Discover how to use git rebase to squeeze five commits into a single commit, using interactive rebasing with pick and squeeze, while updating local and remote histories.
Compare git fetch and git pull: pull syncs remote to local and updates the working directory, while fetch only syncs remote to local, requiring merge to update files.
Securely manage a private GitHub project with prod and dev branches and SSH passwordless authentication. Enforce branch protection, approvals, and build checks to keep production code working.
Set up a private taxi booking repository on GitHub, create dev and prod branches, protect these branches with pull request reviews, and add collaborators for a secure DevOps workflow.
Enable ssh-based authentication for developers by generating and adding ssh keys to their ssh agent and GitHub accounts, then clone the taxi booking repository via ssh and start coding.
Push code to the dev branch, build with Maven in Jenkins, and deploy to a Tomcat dev environment for testing before promoting to U8 and prod.
Push dev changes to the UAT environment via a pull request, secure reviewer approvals, and merge before deploying with Jenkins.
Set up a new Jenkins pipeline to build a VAT branch, deploy to the test environment, tag version 1.0, and through pull requests promote code to production.
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