Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Complete Git and GitHub Tutorial

Kunal Kushwaha via YouTube

Overview

Master Git and GitHub for personal projects and open-source contributions in this comprehensive tutorial. Learn essential commands and concepts including branching, pull requests, forking, squashing, resolving merge conflicts, and keeping code in sync. Start from the basics and progress through advanced topics with hands-on examples. Gain practical skills for version control and collaborative development, applicable for both Windows and Linux users. Explore additional resources like cheat sheets and related Java DSA content to further enhance your programming knowledge.

Syllabus

Introduction
What is Git and Github?
Why are we using Git and Github?
Downloading Git
Structure of the Tutorial
Some basic Linux commands
Initializing a Git Repository
Making the first change
Staging the first change
Commiting the first change
Adding data to files
Removing changes from stage
Viewing the overall history of the project
Making few more commits
Removing a commit from the history of a project
Stashing changes
Popping Stash
Clearing Stash
Starting Github
Creating a new repository on Github
Connecting Remote Repository to Local Repository
Pushing local changes to remote repository
What are branches?
Use of branches
Making a new branch and switching to it Learn Git Branching
Merging branch to main Learn Git Branching
Pushing new changes to master branch
Working with Existing Projects
Why Fork and How to Fork?
Cloning the forked project to local
What is Upstream and adding it to local
What is a Pull Request?
Never commit on main branch & creating our first pull request
Removing a commit from the pull request by force pushing to it
Merging a Pull Request
Making forked project even with main project
Instructions on how to try doing these on your own
Squashing commits
Using the Rebase command
Using the hard flag to reset
Merge conflicts and how to resolve them?
What to do next?

Taught by

Kunal Kushwaha

Reviews

Start your review of Complete Git and GitHub Tutorial

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.