Complete Git and GitHub Tutorial

preview_player
Показать описание
This tutorial will help you with using Git & GitHub for your personal projects and contributing to Open Source, with no prerequisites, in an easy to understand language.

It starts from the very basics of Git & GitHub, covering all the essential commands, including concepts such as branching, pull requests, forking, etc. We also cover other concepts such as squashing, resolving merge conflicts, keeping your code in sync, and more.

NOTE:
- Windows users can use git bash, all the commands will work.
- When using git for the first time, set the global configs using the commands:

=========================================
Timestamps:
0:00 Introduction
0:25 What is Git and Github?
3:45 Why are we using Git and Github?
5:15 Downloading Git
6:00 Structure of the Tutorial
6:18 Some basic Linux commands
8:22 Initializing a Git Repository
9:48 Making the first change
13:43 Staging the first change
14:40 Commiting the first change
16:12 Adding data to files
17:24 Removing changes from stage
18:14 Viewing the overall history of the project
18:52 Making few more commits
19:31 Removing a commit from the history of a project
21:35 Stashing changes
24:25 Popping Stash
25:00 Clearing Stash
25:26 Starting Github
26:10 Creating a new repository on Github
26:40 Connecting Remote Repository to Local Repository
28:05 Pushing local changes to remote repository
28:43 What are branches?
31:10 Use of branches
32:42 Making a new branch and switching to it (Learn Git Branching)
34:28 Merging branch to main (Learn Git Branching)
36:00 Pushing new changes to master branch
37:10 Working with Existing Projects
37:38 Why Fork and How to Fork?
39:00 Cloning the forked project to local
40:10 What is Upstream and adding it to local
41:00 What is a Pull Request?
45:28 Never commit on main branch & creating our first pull request
51:04 Removing a commit from the pull request by force pushing to it
52:56 Merging a Pull Request
53:28 Making forked project even with main project
59:46 Instructions on how to try doing these on your own
1:00:20 Squashing commits
1:01:59 Using the Rebase command
1:04:35 Using the hard flag to reset
1:05:11 Merge conflicts and how to resolve them?
1:11:00 What to do next?

#git #github
Рекомендации по теме
Комментарии
Автор

Keep in mind that to make changes to your text file using vim, Press i to get into insert mode and then press esc + :x to exit ; Basic Vim commands, you might get stuck ;

chirntn
Автор

Seen many git tutorials in the past. Had been using git for quite a long time now. But this is the best and most easy to understand tutorial I have seen so far. And I learned quite a few new things too, in the easiest way possible.

saikatbishal
Автор

You are the only one who made me understand the entire git and GitHub only in an hour. I was stuck in an endless loop but one of my friends told me about this video and I am really thankful to him and you as well.

nishchayveer
Автор

The picture clicking example was perfect for beginners like me. Really enjoyed the tutorial and understood the commands used. Kudos to Kunal for creating this tutorial.

sanyam_agarwal
Автор

The guests goes to the stage (staging area), then the photographer took the photograph (commit) that saves in the history of the wedding 🔥🔥🔥, this was amazing

avinashgupta
Автор

Honestly blown away by the content. Having already seen quite a few git/github tutorials in the past, I started watching the video with the intention of skimming through the content quickly but it was so engaging I ended up watching the whole video. None of the previous videos I've seen were this good, thanks for putting so much effort into the videos!

utkarsha
Автор

this is literally the best git and github tutorial ever, i was able to understand the complicated parts that other tutorials couldn't explain well. thanks a lot

nellykantu
Автор

Sry i should be commenting after watching full video. But i can't control myself. After watching for just 11 min i am really happy that I could understand what u r teaching. This thing called github and its repository concept used to go a way abv my head bf. Now i am atleast able to understand. Thank you !

asura-
Автор

If you know about something and can explain it in terms that even a 3rd grade student can get it, shows that you truly understood it. Begin a professional, going through your content is fun and just love the way you break things into simpler ways. You are going big, brother.

Hope to help you in some way and help the community.

karamjotsingh
Автор

I've searched alot about git watched tons of videos on youtube googled alot whenever i want to do something with my projects on git. I never understood concepts of stash, rebase and all. I would like to say "BEST VIDEO ON GIT EVER". Appreciate it! By the way excited to see more videos like this. Great initiative man!🙌👏

nikhilsoni
Автор

Your passion for teaching shows Kunal, hats off for this. Thank you.

gayatri
Автор

A simple note : at 16:28 kunal used vim text editor and opened names.txt file to write some text names and saved the file using (first press esc key then) ":x" hope it is more clear now :))

harshgupta
Автор

The quality of the content, excellent presentation, and positive attitude make it really interesting and fun to watch.
The fact that the views are more than the channel subscribers is a testament to this :)

WincentSimon
Автор

This is actually the best git / github tutorial

avinashgupta
Автор

I had never seen a educational content this long in one sitting, you have got it bro! keep it up!

sarthakmane
Автор

Thanks Kunal .... for all the efforts ...that you have taken to provide world class content at zero cost.... for the same content many edtechs are charging lakhs of Rs. Gratitude, blessings and more power to you ... that you keep doing what you do best and making us all Indians proud....

tejalkhatri
Автор

Bro literally loving the way you are explaining the things...your efforts are clearly visible man❤️🙌 really got goosebumps while studying due to excitement that what's going to be in next videos. It is going to be a long and wonderful journey⚡

adityatrivedi
Автор

just completed the video i had watched plenty of tutorials but finally understand with the help of your video thank you so much for your tremendous effort also you have explained it in very easy language exapmle that you have took of wedding was just amazing i am very lucky to be member of this community lot to learn from you, thank you

khemchand
Автор

Git has never been so easy for me. Thank you so much for explaining this well. I have tried to learn git many times but often need to memorize the commands even the basic ones. But your wedding photograph analogy did the work. Now I understand everything nicely. Thank you so much.

ayushmaanraturi
Автор

Thank you. Was struggling with git commands since years. This was the best and simple explanation. More power to you.

snehasrinivas