
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.
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.
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.
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.
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 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.
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.
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.
Push dev changes to the UAT environment via a pull request, secure reviewer approvals, and merge before deploying with Jenkins.
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