Git Tutorial for Beginners - Git & GitHub Fundamentals In Depth

Поделиться
HTML-код
  • Опубликовано: 21 ноя 2024

Комментарии • 645

  • @TechWithTim
    @TechWithTim  4 года назад +378

    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~

    • @tanmaydeshpande
      @tanmaydeshpande 4 года назад +3

      Oh wow. This has got to be one of your longest videos yet. Nicely made!

    • @sudhamajayanthi
      @sudhamajayanthi 4 года назад +2

      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.

    • @ElementUser
      @ElementUser 4 года назад +2

      This pretty much covers general every day commands that I use with Git, kudos for the concise list!

    • @FadiZain
      @FadiZain 4 года назад +6

      Tim this was fantastic man, well done!

    • @ellahalaida4808
      @ellahalaida4808 3 года назад

      You have talent to explain for beginners. Thanks for the video!

  • @jonathanjohnson2785
    @jonathanjohnson2785 2 года назад +24

    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. 👏

  • @gtv3582
    @gtv3582 4 года назад +1058

    The people who disliked are people who upload their projects to google drive

  • @samu_el_pack
    @samu_el_pack 3 года назад +7

    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.

  • @snow9009
    @snow9009 3 года назад +12

    I am impressed with the way how the young man is able to explain and perform ! Thank you for that

  • @unicorn_tamer
    @unicorn_tamer 3 года назад +5

    Git was confusing me for about 2 YEARS! I finally understood how it works!!

  • @nopens
    @nopens 4 года назад +204

    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.

  • @adamoja4295
    @adamoja4295 2 года назад +5

    You’re the blitz of programming tutors. Straight to the point .

  • @Hintz6
    @Hintz6 Год назад +14

    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.

  • @richiemello3447
    @richiemello3447 2 года назад +11

    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 RUclips videos who made the process so convoluted. Thank you for everything you do!!!

  • @matthewpaolini
    @matthewpaolini 3 года назад +3

    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.

  • @Spironic
    @Spironic 3 года назад +90

    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

  • @henderstech
    @henderstech 2 года назад +2

    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.

  • @ishankhambhaliya960
    @ishankhambhaliya960 Год назад

    Its 2023 and its still GOLD.
    Thank you for the tutorial.

  • @chethanm6713
    @chethanm6713 Месяц назад

    Thank God finally I found this wonderful full beginners guide.
    His way of explaining is just awesome

  • @sarthakkrishna1737
    @sarthakkrishna1737 3 года назад +2

    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

  • @JollyAZ
    @JollyAZ 4 года назад +180

    Couldnt have been a more perfect time

    • @NoName-nb1yu
      @NoName-nb1yu 4 года назад +3

      Literally, lmao. I have a school project that I need to push to GitHub and was high-key lost.

    • @craiglobo2165
      @craiglobo2165 4 года назад +1

      I swear

  • @abhinavghosh725
    @abhinavghosh725 4 года назад +2

    this is my fifth git tutorial and hes the first one to make me understand branches and pull requests!

  • @xhappybunnyx
    @xhappybunnyx Год назад +21

    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

  • @jibolao
    @jibolao Год назад

    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.

  • @adnansami1599
    @adnansami1599 Месяц назад

    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.

  • @testpurpose5161
    @testpurpose5161 4 года назад +114

    Please make a video on how to contribute to open project as a newcomers.

    • @almuhimen8023
      @almuhimen8023 4 года назад +7

      Go to the explore tab of github. Sort by lowest number of stars and then choose one you would like to contribute.

    • @menace992
      @menace992 4 года назад +1

      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
      @deepanshuchg 4 года назад

      @@menace992 What does --rebase mean here? I mean what is its purpose?

    • @frroossst4267
      @frroossst4267 3 года назад

      @@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

  • @alexanderwesley2830
    @alexanderwesley2830 Год назад

    This tutorial actually cleared all of my doubts. I will now take enough time out and improve my skills as its directs me....

  • @oberek92
    @oberek92 4 месяца назад +1

    merci, j'ai tout suivi malgré un débit rapide de parole. bravo!

  • @shellymillet5365
    @shellymillet5365 3 года назад +5

    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.

  • @dareytemy
    @dareytemy 3 года назад +4

    Not gonna lie. This is the video that solved all the issues I have had with git and github. Thanks for this video Man. 🤙

  • @andyhawaii2819
    @andyhawaii2819 2 года назад

    It's been about 10 years since I used git and never used GitHub. This was a great primer. Thanks for your contribution.

  • @dogedingo1535
    @dogedingo1535 2 года назад

    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

  • @mubashirali9396
    @mubashirali9396 3 года назад +1

    Ultimate course. Nothing i knew in git, now understood basic operations in a more precise and practical way.

  • @techsupport5064
    @techsupport5064 3 года назад +3

    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.

  • @GwresYnKernow
    @GwresYnKernow 3 года назад +7

    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.

  • @Tom-xy9gb
    @Tom-xy9gb 2 года назад

    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!

  • @ahmed_raaphat
    @ahmed_raaphat Год назад

    One of the best and most underrated GitHub tutorials ever!

  • @sancrosanct5070
    @sancrosanct5070 2 года назад +9

    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.

  • @kashfox1050
    @kashfox1050 Год назад

    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!

  • @gentmoth1726
    @gentmoth1726 2 года назад +3

    I truly appreciate how simple and clearly you've explained this!

  • @david_law
    @david_law Год назад +4

    Clear navigation and language, and straight to the point. Super helpful. Thank you!

  • @PetterIvarsson
    @PetterIvarsson Год назад +1

    Really nice that you made drawings and focused on the concept. I have watched other tutorials and the often most focus on commands

  • @deanoneill4696
    @deanoneill4696 4 года назад +1

    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.

  • @Edin0vic
    @Edin0vic 2 года назад +1

    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!

  • @thisisdavidsmind3067
    @thisisdavidsmind3067 3 года назад +1

    just started learning 3 days ago im really glade i found your channel thank you so much for taking the time to explain everything

  • @ThamiresCaetano
    @ThamiresCaetano 3 года назад +2

    I looked for a thousands tutorials and the one's that helped me the most was yours!! Thank u so much!!!

  • @mwaurakennedy1705
    @mwaurakennedy1705 2 года назад

    Finally a lecturer that goes good with coffee... Nice Easy and Elaborate👍

  • @frankchen3021
    @frankchen3021 3 года назад

    Your explanations are like ten times better than my instructor

  • @eddy2561
    @eddy2561 Год назад +1

    GEEEZ!!! A group comes together to design a horse and ends up with a mulit-hump camel.....DAMN complex!

  • @CoachGrimes
    @CoachGrimes 2 года назад

    I'm sold bro. I'll be watching all your videos. Just where I'm at! Thank you for doing this.

  • @hustleplus-v4t
    @hustleplus-v4t Год назад

    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...

  • @Sheerohcooks
    @Sheerohcooks 8 месяцев назад

    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🤗

  • @robinpipslayertekprofitsfa2644

    You are a simple genius!! I've heard about git, however, this breakdown and lesson is practically life saving!! Thank You!

  • @abdelrahmannkamal
    @abdelrahmannkamal 2 года назад

    This is the best tutorial about Github on youtube thank you for your clear and simple explanation

  • @kimaegaii
    @kimaegaii 2 года назад +2

    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!

  • @bigshuff
    @bigshuff Год назад +3

    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.

  • @santhoshxd
    @santhoshxd 4 года назад +1

    I thought about learning git a few seconds before, opened RUclips and your video shows up!

  • @7keycoaching
    @7keycoaching 2 года назад

    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.

  • @kemad86x
    @kemad86x Год назад

    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

  • @daryx.langdale
    @daryx.langdale 3 года назад +2

    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 :)

  • @RealZetItUp
    @RealZetItUp 3 года назад

    Wasn't gonna watch this, ended up watching the whole thing, clicked the subscribe button! :D

  • @m.fowosebolaji5218
    @m.fowosebolaji5218 3 года назад +1

    This is powerful! The simplicity of its videography speaks volume even in a short while!

  • @kellibrecunier9894
    @kellibrecunier9894 3 года назад +1

    This is the best explanation of Git and Github I have found. Thanks!

  • @ElementUser
    @ElementUser 4 года назад +5

    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!

  • @KeepLearing
    @KeepLearing 11 месяцев назад +1

    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!!!!!

  • @stitchinginthebarn8307
    @stitchinginthebarn8307 2 года назад

    Came for the Github how to. Staying to fill in the gaps in my EE college courses. Thank you!

  • @vlvbeats517
    @vlvbeats517 Год назад +1

    This video couldn’t be more clear Tim, continue doing this helpful videos!

  • @terryh558
    @terryh558 Год назад

    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.

  • @TheTalisman515
    @TheTalisman515 2 года назад +1

    How do you keep track of branch names? Great video, best I’ve come across on RUclips. Love your content!

  • @jeromesimms
    @jeromesimms 3 года назад

    Thank you for making this tutorial in windows. I was a bit uncertain bacause every tutorial was using Mac.

  • @conqu3red545
    @conqu3red545 4 года назад +13

    Wow this is really useful! I’m currently leading a GitHub project with a few others and this is just the video I needed!

  • @smortemm2438
    @smortemm2438 3 года назад +6

    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

  • @Aquahutch702
    @Aquahutch702 2 года назад

    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.

  • @maxbook1479
    @maxbook1479 3 года назад +3

    Tim! You are a great teacher. Do not stop to make videos for us )(())))

  • @Martin-yo8wh
    @Martin-yo8wh 3 года назад +3

    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

  • @mjb6673
    @mjb6673 2 года назад

    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.

  • @timburroughs2109
    @timburroughs2109 4 месяца назад

    Very clear explanation of the basics of Git and GitHub. Thanks

  • @lanceareadbhar
    @lanceareadbhar 3 года назад +1

    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.

  • @vorlostzurab7653
    @vorlostzurab7653 4 года назад +5

    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!

  • @bedantakona2096
    @bedantakona2096 3 года назад +1

    You dropped this king 👑

  • @523101997
    @523101997 3 года назад +2

    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!

  • @omaryda
    @omaryda 3 года назад

    They only tutorial on RUclips 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.

  • @fawadmahdi
    @fawadmahdi 6 месяцев назад

    This was absolutely clear and great hands -on tutorial. Thank you

  • @bteck2005
    @bteck2005 3 года назад +4

    You have done a very good job introducing fundamental github operations for beginners. Your instructions are very clear and systematic. Thank you!

  • @weniomer6385
    @weniomer6385 3 года назад +2

    I should have looked this stuff up years ago wow, it's so useful. Thank you Tim!

  • @juliofavourite7490
    @juliofavourite7490 2 года назад

    Many thanks, Tim! Glad I passed by here.

  • @russnagel1
    @russnagel1 3 года назад +2

    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.

  • @CJi-ht4bd
    @CJi-ht4bd 2 года назад

    love this one. I think this one is one of the best tutorials I have ever watched about git&github.

  • @VedantNaik21
    @VedantNaik21 2 года назад +2

    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❤❤❤

    • @si-level
      @si-level 2 года назад

      ehh really? i got Author identity unknown error

  • @Plorpoise
    @Plorpoise 4 месяца назад

    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

  • @Dsky44
    @Dsky44 3 года назад

    Was super lost before watching this. 10/10 thanks!

  • @sigmatronX
    @sigmatronX 2 года назад

    Tim, you are the best. Thank you very much for making git and github so easy. God bless you bro.

  • @RishabhJain-iz5xk
    @RishabhJain-iz5xk 3 года назад

    best video on git and github i found till today

  • @davisbennett
    @davisbennett 3 года назад +2

    Hey Tim -- don't apologize this was a FANTASTIC video and got me up and running fast :) Carry on with the great work!

  • @petermcmaster6673
    @petermcmaster6673 4 года назад +1

    Thank you for taking it slowly for us newbies! super helpful.

  • @jarlgreen1630
    @jarlgreen1630 2 года назад +1

    Thank you so much for this training. Your visual approach really outlines it for me, a beginner. Kudos!

  • @RusuTraianCristian
    @RusuTraianCristian 4 года назад +3

    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

  • @74Bagas
    @74Bagas 3 года назад

    the most underrated skill in the world

  • @smile768
    @smile768 4 года назад +1

    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.

  • @TheSnakeCro
    @TheSnakeCro 3 года назад +1

    This is the best git tutorial i have seen, it really helped me out. Thanks Tim :)

  • @kishpattel92
    @kishpattel92 3 года назад

    In a BootCamp right now and you made this so easy to understand! Def subed.

  • @philosophyindepth.3696
    @philosophyindepth.3696 Год назад

    This video is very good.....all things explained in simple manner and practically demonstrated...

  • @seanhuang8894
    @seanhuang8894 2 года назад

    this has to be the best git tutorial for beginners

  • @rolando8966
    @rolando8966 Год назад

    I’m very new to Git and that was an AWESOME tutorial