Hope this video helps you learn the fundamentals of Git and GitHub! I do realize some of the commands were hidden behind my face-cam so I wrote a list of them here for your reference! ⌨ Common GitHub Commands ⌨ To create a new repository locally: git init To add files to staging area: git add . OR git add ~filename~ To check status of staging area: git status To commit new changes: git commit -m "commit message" To create a new branch: git checkout -b ~branch name~ To switch between branches: git checkout ~branch name~ To merge branches together: git merge ~branch name~ To add a remote repository: git remote add ~remote name~ ~yourremoteurl~ To pull changes from a remote repository: git pull ~remote name~ ~branch name~ To push changes to a remote repository: git push ~remote name~ ~branch name~
Can we have any name of my wish in place of remote name ? Reply will be very thankful, I’m new to Git & Github ! Edit: Got the answer myself , Yes we can ! Just tried it out.
This is very useful! It might seem redundant at first when you have small projects or have very few, but they tend to grow. Make git a habit even if you dont understand why. It will come later as some crucial point.
I watched quite a few other videos that attempted to explain Git/Github, but I found this to be the best foundational explanation. And yours explained using the command prompt rather than an IDE and it still was more clear than other tutorials I watched. Thanks for this great educational material.
Tim, you are an unequivocal life saver. I cannot even begin to tell you how much your videos have helped me. I was smacking my brain into a wall watching other TH-cam videos who made the process so convoluted. Thank you for everything you do!!!
This is one of the best pieces of educational material I've seen on youtube; so well articulated, so clear, so comprehensive, and so easy to understand. Bravo sir! Subbed
I love how you say to not just remember the commands but to understand what is actually happening in background. This is what helps me learn the most. not just learning a command. I like to know how it works and what its doing.
I have been trying to understand git and github but i couldnt go through a few minutes of other tutorials . This however explained it so well. Thank you very much.
Usually process is: Fork -> Clone Fork -> Make feature branch in Fork -> do work and then commit -> (Possibly) Checkout master and pull with --rebase if anyone else has made commits and then rebase your feature branch -> Commit and create pull request across forks (from your feature branch to the appropriate branch on main repo)
@@deepanshuchg It syncs your remote repo with the one on your local device. For example, if someone added a new file perhaps your team member and you do not have that particular file on your local device you will need to pull and rebase to get that file on your local machine only then will you be able to push a new commit to a remote repo
Ya Allah, I felt so lost in our university lab class today as our TA sped through the whole GIT codes and I barely understood anything in the 2 hours that the class lasted. Then I came here and everything became crystal clear in less than half that time! May Allah bless your efforts brother. Now I feel way more confident about GIT.
Thank you Tim - I learned Git today!!! I actually bailed out on 2 other videos before finding yours. Your style fits my learning curve!! Spot on Thanks again.
1 Month ago when I watched this I just followed what he was doing and didn't understand anything. Now watching this tutorial again a lot of what he is talking about makes sense and I understand it. I love coding so much haha
I found this very helpful and informative. I am new to Git and GitHub so it explained a lot. Just a couple of notes from a newbie. As you know, at times when you had the two windows side-by-side and your image in the lower right corner, it covered part of the command line window. You did pop up what you were typing as an overlay but it wasn't quite the same. Not as easy to follow and understand as when I could see the entire command line window. Later in the video, I'm not sure if you sped up a bit or my mind slowed down, but I was having a harder time keeping up in the section on branching and merging. But, I can go back and watch again. I liked your style and your step-by-step approach. Really helpful.
This was great, thanks! One suggestion though, using actual code (just a really basic function or something) would probably make more sense that "hi" "hello" "new" etc, etc. Especially the part about resolving merge conflicts.
No sir! This video was not confusing at all. After attempting to learn how to learn git and GitHub by watching other videos. Yours made so much sense! Thank you!
Honestly you did pretty damn nice. The explanation was top notch. I was worried you weren't going to address conflicts because I actually deleted the test repository I made watching the video then made a new one using every commands and slowly understanding the uses of each and how changes in CMD affect the file in github. Now I understand pretty much all you said. I'll have to learn about pull requests more though because they confuse me but all in all pretty solid. 10/10 would recommend.
A bit fast paced but I understand it better than other tutorials. Idk, possibly because I watched other videos before, but still I find this very helpful. Thank you so much!
Loved most of it. Got stuck at the remote repositories and couldn't get it to connect. More in depth tutorial with connecting to GitHub would be much appreciated.
this was super helpful, thank you for making it! I realized I was kind of getting lost in my own coding schemes, so I decided to get into github to clean up my own mess!
I checked like 5 places. Bro I don't want to name them but u sure have a way of sharing information. good job bud. I hope to work for microsoft one day...
This tutorial is just the best! Thanks Tim for making it. Been struggling with github for a minute and now I think I understood what's in all of those commands. Thanks so much🤗
Bruh just yes, what a great explainer. Thank you thank you! Lots of time people teach the theory and not the commands, you put it all in one. Great job!
Command line - we used to call this Dos back in the early 90's. That was before Windows was self bootable and you had to run dos first then type "win" to start windows 3.1 or whatever it was.
man this video was VERY helpful. I'm a few weeks into the odin project and needed a better understanding of pushing onto GitHub and pulling from GitHub & after this video I feel A LOT more confident so I appreciate it.
Besides the fact that this is one of the best GIT + GITHUB videos I've seen so far, the little golden nugget at 30:40 about right clicking in terminal is LIFE CHANGING!! this has annoyed me for so long XD
coming from something approaching 0 prior knowledge, this was really good. I could keep up fine (with a few skip backs here and there of course). well explained :)
I was planning to do something like this myself & host it as a workshop for our Computer Science group at my college, but unfortunately my plans fell through =( I'm very happy to see you make a video about this & will share it with the people who are new to Git! Colleges & universities don't teach us Git & code collaboration tools, so this is a huge boon for students =) Thank you for the video Tim!
This is amazing!! You've made it look like toy - I understood EVERYTHING!! EASY! I learned this when I first started to code a few years back, but it's always been my lease interesting thing about coding, and so I turned to Git-Desktop - super easy that. However, I understand that if I'm serious about coding (I am) then it means I have to be able to do this in the real world of coding. Now, I'm ready to ditch (or use less of the desktop) Thank you!!!!!
Tim, Awesome job explaining everything. Got a bit of information overload towards the end, but I know I can just go back and review while trying things for myself.
This is so amazing! I understood everything even as a beginner. All the other tutorials I've watched didn't really explain anything but yours is truly unique. Thank you so much
This was a ton of help for me. My role in my company has evolved to where I need to work Git/Github into my regular duties and I have a very shallow understanding of what I'm doing when I use it. Thank you so much for adding context. I had no issues following along up until about 41:22 about compare and pull requests. (I can tell others have trouble there too based on rewatch graph) I think the biggest issue for me is that this section of github is not very intuitive (at least, to me) I'm not a fan of how github has it laid out.
Helpful video. It could have been better if there is some sort of real-time visual aid of what was happening to the branches as you do the commit/push/pull/create new branch commands
I love vs code for git as you dont have to do anything with it anymore. It features ui features for everything, you can push with a button, see all version controls and gitlens is just epic. Huge probs to the git extensions!
Your explanations were great. The foundation before starting was critical and another video I watch did not explain any of that Local environment versus remote repository so on. SO thank you.. Excellent.
This was amazing, I tried following other ones but they often used Macs and did things that weren't the same on mine. Also explaining how it works made it much easier to follow. Thanks again!
They only tutorial on TH-cam that made sense and worked! Thanks, man. At the time of this comment it looks like the github username and password work just fine for authentication. Thanks, again.
Excellent job! I didn't know anything about git or github before I watched this video. Now I feel like I can use them for what I need to do for now. Thank you.
Pretty good tutorial. I think that if you were to do this again, I would probably add a section on reverting changes to a previous commit, since that's what I end up using Git for a lot of the time for local repos. It can be really useful to make changes and not have to worry about breaking everything forever. I'd also make sure to not mix up using the terms Git and GitHub. It can be a little bit confusing using them interchangeably
This probably was the best tutorial out there with the all the terms being explained in extremely simple language. Thanks for this one mate!!! Loved it❤❤❤
Good job! I liked how you described how you deal with conflicts and how to resolve them. I previously watched some other git tutorials and didn't quite understand it then, but now I do. Thanks.
I remember doing the terminal login years ago; I just pushed something without being logged in and Windows/Terminal popped up a small window asking me for GitHub credentials. So just a heads up, this is one of the ways. :D
Hope this video helps you learn the fundamentals of Git and GitHub! I do realize some of the commands were hidden behind my face-cam so I wrote a list of them here for your reference!
⌨ Common GitHub Commands ⌨
To create a new repository locally: git init
To add files to staging area: git add . OR git add ~filename~
To check status of staging area: git status
To commit new changes: git commit -m "commit message"
To create a new branch: git checkout -b ~branch name~
To switch between branches: git checkout ~branch name~
To merge branches together: git merge ~branch name~
To add a remote repository: git remote add ~remote name~ ~yourremoteurl~
To pull changes from a remote repository: git pull ~remote name~ ~branch name~
To push changes to a remote repository: git push ~remote name~ ~branch name~
Oh wow. This has got to be one of your longest videos yet. Nicely made!
Can we have any name of my wish in place of remote name ? Reply will be very thankful, I’m new to Git & Github !
Edit: Got the answer myself , Yes we can ! Just tried it out.
This pretty much covers general every day commands that I use with Git, kudos for the concise list!
Tim this was fantastic man, well done!
You have talent to explain for beginners. Thanks for the video!
I guess it's true that if you can't explain something simply, you don't understand it well enough. You sir really understand it. Great video. 👏
The people who disliked are people who upload their projects to google drive
nice idea not gonna lie XD
ik people whose do this lol
Is this a legit thing?
I either used to put it on drive or pastebin XD
@Saketh p 😂💀
I am in College and i cannot believe you EXPPLAIN SO MUCH BETTER THAn my lecturers, you deserve a like good man, and also a subscribe.
I am impressed with the way how the young man is able to explain and perform ! Thank you for that
Git was confusing me for about 2 YEARS! I finally understood how it works!!
This is very useful! It might seem redundant at first when you have small projects or have very few, but they tend to grow. Make git a habit even if you dont understand why. It will come later as some crucial point.
True!
You’re the blitz of programming tutors. Straight to the point .
I watched quite a few other videos that attempted to explain Git/Github, but I found this to be the best foundational explanation. And yours explained using the command prompt rather than an IDE and it still was more clear than other tutorials I watched. Thanks for this great educational material.
Tim, you are an unequivocal life saver. I cannot even begin to tell you how much your videos have helped me. I was smacking my brain into a wall watching other TH-cam videos who made the process so convoluted. Thank you for everything you do!!!
I have been developing for 25 years and I can't tell you how impressed I am with you. You have a great future ahead.
This is one of the best pieces of educational material I've seen on youtube; so well articulated, so clear, so comprehensive, and so easy to understand. Bravo sir! Subbed
exactly
I love how you say to not just remember the commands but to understand what is actually happening in background. This is what helps me learn the most. not just learning a command. I like to know how it works and what its doing.
Its 2023 and its still GOLD.
Thank you for the tutorial.
Thank God finally I found this wonderful full beginners guide.
His way of explaining is just awesome
Brooooo!!! I am telling you! This is the best git tutorial I have come across on YT! Literally the BEST! So lucidly explained! Beautiful video
Couldnt have been a more perfect time
Literally, lmao. I have a school project that I need to push to GitHub and was high-key lost.
I swear
The amount of relief you have provided me is immeasurable and I want to give you a big thank you for making this seem so unscary
this is my fifth git tutorial and hes the first one to make me understand branches and pull requests!
I have been trying to understand git and github but i couldnt go through a few minutes of other tutorials . This however explained it so well. Thank you very much.
Please make a video on how to contribute to open project as a newcomers.
Go to the explore tab of github. Sort by lowest number of stars and then choose one you would like to contribute.
Usually process is: Fork -> Clone Fork -> Make feature branch in Fork -> do work and then commit -> (Possibly) Checkout master and pull with --rebase if anyone else has made commits and then rebase your feature branch -> Commit and create pull request across forks (from your feature branch to the appropriate branch on main repo)
@@menace992 What does --rebase mean here? I mean what is its purpose?
@@deepanshuchg It syncs your remote repo with the one on your local device. For example, if someone added a new file perhaps your team member and you do not have that particular file on your local device you will need to pull and rebase to get that file on your local machine only then will you be able to push a new commit to a remote repo
Ya Allah, I felt so lost in our university lab class today as our TA sped through the whole GIT codes and I barely understood anything in the 2 hours that the class lasted.
Then I came here and everything became crystal clear in less than half that time!
May Allah bless your efforts brother. Now I feel way more confident about GIT.
This tutorial actually cleared all of my doubts. I will now take enough time out and improve my skills as its directs me....
merci, j'ai tout suivi malgré un débit rapide de parole. bravo!
Thank you Tim - I learned Git today!!! I actually bailed out on 2 other videos before finding yours. Your style fits my learning curve!!
Spot on Thanks again.
Not gonna lie. This is the video that solved all the issues I have had with git and github. Thanks for this video Man. 🤙
It's been about 10 years since I used git and never used GitHub. This was a great primer. Thanks for your contribution.
1 Month ago when I watched this I just followed what he was doing and didn't understand anything. Now watching this tutorial again a lot of what he is talking about makes sense and I understand it. I love coding so much haha
I found this very helpful and informative. I am new to Git and GitHub so it explained a lot. Just a couple of notes from a newbie. As you know, at times when you had the two windows side-by-side and your image in the lower right corner, it covered part of the command line window. You did pop up what you were typing as an overlay but it wasn't quite the same. Not as easy to follow and understand as when I could see the entire command line window. Later in the video, I'm not sure if you sped up a bit or my mind slowed down, but I was having a harder time keeping up in the section on branching and merging. But, I can go back and watch again. I liked your style and your step-by-step approach. Really helpful.
Ultimate course. Nothing i knew in git, now understood basic operations in a more precise and practical way.
This was great, thanks! One suggestion though, using actual code (just a really basic function or something) would probably make more sense that "hi" "hello" "new" etc, etc. Especially the part about resolving merge conflicts.
No sir! This video was not confusing at all. After attempting to learn how to learn git and GitHub by watching other videos. Yours made so much sense! Thank you!
Honestly you did pretty damn nice. The explanation was top notch. I was worried you weren't going to address conflicts because I actually deleted the test repository I made watching the video then made a new one using every commands and slowly understanding the uses of each and how changes in CMD affect the file in github. Now I understand pretty much all you said. I'll have to learn about pull requests more though because they confuse me but all in all pretty solid. 10/10 would recommend.
One of the best and most underrated GitHub tutorials ever!
I truly appreciate how simple and clearly you've explained this!
Clear navigation and language, and straight to the point. Super helpful. Thank you!
A bit fast paced but I understand it better than other tutorials. Idk, possibly because I watched other videos before, but still I find this very helpful. Thank you so much!
Really nice that you made drawings and focused on the concept. I have watched other tutorials and the often most focus on commands
Loved most of it. Got stuck at the remote repositories and couldn't get it to connect. More in depth tutorial with connecting to GitHub would be much appreciated.
I looked for a thousands tutorials and the one's that helped me the most was yours!! Thank u so much!!!
this was super helpful, thank you for making it! I realized I was kind of getting lost in my own coding schemes, so I decided to get into github to clean up my own mess!
just started learning 3 days ago im really glade i found your channel thank you so much for taking the time to explain everything
Finally a lecturer that goes good with coffee... Nice Easy and Elaborate👍
I'm sold bro. I'll be watching all your videos. Just where I'm at! Thank you for doing this.
Your explanations are like ten times better than my instructor
I checked like 5 places. Bro I don't want to name them but u sure have a way of sharing information. good job bud. I hope to work for microsoft one day...
GEEEZ!!! A group comes together to design a horse and ends up with a mulit-hump camel.....DAMN complex!
This tutorial is just the best! Thanks Tim for making it. Been struggling with github for a minute and now I think I understood what's in all of those commands. Thanks so much🤗
You are a simple genius!! I've heard about git, however, this breakdown and lesson is practically life saving!! Thank You!
This is the best tutorial about Github on youtube thank you for your clear and simple explanation
Bruh just yes, what a great explainer. Thank you thank you! Lots of time people teach the theory and not the commands, you put it all in one. Great job!
Command line - we used to call this Dos back in the early 90's. That was before Windows was self bootable and you had to run dos first then type "win" to start windows 3.1 or whatever it was.
man this video was VERY helpful. I'm a few weeks into the odin project and needed a better understanding of pushing onto GitHub and pulling from GitHub & after this video I feel A LOT more confident so I appreciate it.
I thought about learning git a few seconds before, opened TH-cam and your video shows up!
Besides the fact that this is one of the best GIT + GITHUB videos I've seen so far, the little golden nugget at 30:40 about right clicking in terminal is LIFE CHANGING!! this has annoyed me for so long XD
coming from something approaching 0 prior knowledge, this was really good. I could keep up fine (with a few skip backs here and there of course). well explained :)
Wasn't gonna watch this, ended up watching the whole thing, clicked the subscribe button! :D
This is powerful! The simplicity of its videography speaks volume even in a short while!
I was planning to do something like this myself & host it as a workshop for our Computer Science group at my college, but unfortunately my plans fell through =(
I'm very happy to see you make a video about this & will share it with the people who are new to Git! Colleges & universities don't teach us Git & code collaboration tools, so this is a huge boon for students =)
Thank you for the video Tim!
This is the best explanation of Git and Github I have found. Thanks!
This video couldn’t be more clear Tim, continue doing this helpful videos!
This is amazing!! You've made it look like toy - I understood EVERYTHING!! EASY! I learned this when I first started to code a few years back, but it's always been my lease interesting thing about coding, and so I turned to Git-Desktop - super easy that. However, I understand that if I'm serious about coding (I am) then it means I have to be able to do this in the real world of coding. Now, I'm ready to ditch (or use less of the desktop) Thank you!!!!!
Came for the Github how to. Staying to fill in the gaps in my EE college courses. Thank you!
How do you keep track of branch names? Great video, best I’ve come across on TH-cam. Love your content!
Tim, Awesome job explaining everything. Got a bit of information overload towards the end, but I know I can just go back and review while trying things for myself.
Thank you for making this tutorial in windows. I was a bit uncertain bacause every tutorial was using Mac.
Wow this is really useful! I’m currently leading a GitHub project with a few others and this is just the video I needed!
This is so amazing! I understood everything even as a beginner. All the other tutorials I've watched didn't really explain anything but yours is truly unique. Thank you so much
Tim! You are a great teacher. Do not stop to make videos for us )(())))
This was a ton of help for me. My role in my company has evolved to where I need to work Git/Github into my regular duties and I have a very shallow understanding of what I'm doing when I use it. Thank you so much for adding context.
I had no issues following along up until about 41:22 about compare and pull requests. (I can tell others have trouble there too based on rewatch graph) I think the biggest issue for me is that this section of github is not very intuitive (at least, to me) I'm not a fan of how github has it laid out.
Helpful video. It could have been better if there is some sort of real-time visual aid of what was happening to the branches as you do the commit/push/pull/create new branch commands
Very clear explanation of the basics of Git and GitHub. Thanks
Great video and I appreciated leaving in the mistakes since new people will likely make the same mistakes and not know how to fix them.
I love vs code for git as you dont have to do anything with it anymore. It features ui features for everything, you can push with a button, see all version controls and gitlens is just epic. Huge probs to the git extensions!
Your explanations were great. The foundation before starting was critical and another video I watch did not explain any of that Local environment versus remote repository so on. SO thank you.. Excellent.
This was amazing, I tried following other ones but they often used Macs and did things that weren't the same on mine. Also explaining how it works made it much easier to follow. Thanks again!
You have done a very good job introducing fundamental github operations for beginners. Your instructions are very clear and systematic. Thank you!
This was absolutely clear and great hands -on tutorial. Thank you
They only tutorial on TH-cam that made sense and worked! Thanks, man. At the time of this comment it looks like the github username and password work just fine for authentication. Thanks, again.
I should have looked this stuff up years ago wow, it's so useful. Thank you Tim!
You dropped this king 👑
love this one. I think this one is one of the best tutorials I have ever watched about git&github.
Many thanks, Tim! Glad I passed by here.
Excellent job! I didn't know anything about git or github before I watched this video. Now I feel like I can use them for what I need to do for now. Thank you.
Was super lost before watching this. 10/10 thanks!
Pretty good tutorial. I think that if you were to do this again, I would probably add a section on reverting changes to a previous commit, since that's what I end up using Git for a lot of the time for local repos. It can be really useful to make changes and not have to worry about breaking everything forever.
I'd also make sure to not mix up using the terms Git and GitHub. It can be a little bit confusing using them interchangeably
This probably was the best tutorial out there with the all the terms being explained in extremely simple language. Thanks for this one mate!!! Loved it❤❤❤
ehh really? i got Author identity unknown error
Tim, you are the best. Thank you very much for making git and github so easy. God bless you bro.
best video on git and github i found till today
Thank you for taking it slowly for us newbies! super helpful.
Hey Tim -- don't apologize this was a FANTASTIC video and got me up and running fast :) Carry on with the great work!
Thank you so much for this training. Your visual approach really outlines it for me, a beginner. Kudos!
Good job! I liked how you described how you deal with conflicts and how to resolve them. I previously watched some other git tutorials and didn't quite understand it then, but now I do. Thanks.
I remember doing the terminal login years ago; I just pushed something without being logged in and Windows/Terminal popped up a small window asking me for GitHub credentials. So just a heads up, this is one of the ways. :D
the most underrated skill in the world
This is the best git tutorial i have seen, it really helped me out. Thanks Tim :)
In a BootCamp right now and you made this so easy to understand! Def subed.
This video is very good.....all things explained in simple manner and practically demonstrated...
This was really great, super appreciate your work in breaking this down so easily to understand. THANK YOU!
I’m very new to Git and that was an AWESOME tutorial