Git vs. GitHub: What's the difference?

Поділитися
Вставка

КОМЕНТАРІ • 293

  • @vedkorla300
    @vedkorla300 2 роки тому +31

    I didn't know Mr.Beast was so good at explaining tech concepts. Good job Jimmy.

  • @Insain71
    @Insain71 2 роки тому +33

    I been learning git and github following directions but not fully understanding what I was doing. After watching this video I understand exactly what I was doing and have more of an understanding to start building some projects with git & github. Thank you for the illustrations they really help.

  • @walKyism
    @walKyism 13 днів тому

    4yrs and this explanation vid still killing it on the essentials

  • @andresalvarez7303
    @andresalvarez7303 3 роки тому +407

    Plot twist: the video is NOT flipped....he's just really good at writing backwards 🤣

    • @alejandroperez5368
      @alejandroperez5368 3 роки тому +45

      Plot twist: he's not writing on a transparent acrylic in front of him. He's not even depositing ink. It's all CGI

    • @Gonagaoa
      @Gonagaoa 2 роки тому +8

      He rotated the screen, seethe watch in his hand, it's in right

    • @codewithsusan
      @codewithsusan 2 роки тому

      😂

    • @sanctioned.ayusharma
      @sanctioned.ayusharma 2 роки тому +8

      Plot twist: There's no plot twist...

    • @warplanner8852
      @warplanner8852 2 роки тому +1

      It's all done with smoke and mirrors..
      ..well, mirrors only.

  • @sathya-enjoy_lifetothefullest
    @sathya-enjoy_lifetothefullest 4 роки тому +52

    Simple, crystal clear with examples.. perfect 👌

  • @MrEvansjethro
    @MrEvansjethro 3 роки тому +72

    Thank you Nathan and IBM Technology for the great content. You guys put a lot of effort to make things easy for us to understand. Keep up the awesome work.

    • @mjp96
      @mjp96 2 роки тому

      Right?

  • @iconeers
    @iconeers 8 місяців тому

    well to be honest, am impressed by his delivery of the concept in the difference between Git and Github

  • @colorfuljosh
    @colorfuljosh 3 роки тому +23

    some of the most informative prog/comp/IT videos on youtube, good work

  • @yatin1370
    @yatin1370 7 місяців тому

    Coming off an Udemy course on the topic, this was a best revision recap. Absolutely the essence, straight to the point!

  • @TrKaris
    @TrKaris Рік тому +2

    This is by far the best among the many videos I've watched to get the basics of Git & Github. Keep up the awesome and simplified explanations.

    • @francis_tech
      @francis_tech 6 місяців тому

      You taught me Networking MMU 🫡

  • @nmartin32950
    @nmartin32950 4 роки тому +33

    Excellent vid. Just some quick questions which are probably obvious to everyone else:
    1) How does Greg know a PULL-MERGE is required, did a PUSH attempt fail?
    2) Does Git interrogate and analyze the code inside the file and highlight the specific conflicts or is it just file name, file size and timestamps?
    3) Does GitHub/Lab automatically push a notification to whom ever is responsible for answering the PULL-REQUEST?
    4) Is there a part two vid clearing up the Greg stages of interaction with the main branch?

    • @adalovelac24
      @adalovelac24 3 роки тому

      did you find answers ?

    • @semihozkan8514
      @semihozkan8514 3 роки тому

      @@adalovelac24 did he/she find answers?

    • @adebiyial
      @adebiyial 2 роки тому +32

      I can help you here.
      1. Greg can tell if he has to pull the code from the main branch by checking the GitHub repository to see if there are new changes. Or, more ideally, if Greg tries to push to the main branch, GIT is smart enough to know that there is a conflict. So GIT will say something like: Greg, you are trying to push your changes to the main branch but the main branch has some changes you don't have. Please pull first before pushing.
      2. Git does a lot of things to check if there are changes. Take two files for example, A and B. As long as they are two different names, there is no similarity even if they have the same content. If they have the same name, GIT can check it's own copy (usually the latest copy) and cross check the new copy. It checks line by line. If both files have the same content, then nothing changed, if they don't, GIT will show you something called a "diff". A diff is just GIT telling you the difference between each line of code. If line 1 of the file GIT has is different from line 1 of the file Greg is trying to merge, GIT will tell Greg: There's a conflict.
      3. PR has their own rules. Ideally, you as a user that started or opened a PR can choose to notify someone to take a look at it, or you can leave it there until the person comes to check. It's all about notifications, no hard rules. That's not GIT's responsibility, it's GitHub.

    • @srlhyo
      @srlhyo 2 роки тому

      @@adebiyial but buddy, here is one thing it wasn't clear to me: "knowing there is a merge conflict from pushing the code and git telling there's new code on github I don't have, is making a pull request a way to avoid dealing with the merge conflict? I mean, if I make a pr then I don't need to bother pulling any changes?

    • @iaphlnt
      @iaphlnt 2 роки тому

      @@srlhyo A pull request isn't going to resolve any conflicts, you still have to do that yourself. The only thing that can happen is you pull and handle the merge locally or force a push and delete any changes that were made, probably not a good thing to do

  • @carsten2600
    @carsten2600 Рік тому

    I never understood why ppl called it PR, but now I can understand it, thanks!

  • @conceptrat
    @conceptrat 3 роки тому +6

    Just blown away by his ability to write and draw in reverse so fluidly 😸 lol

    • @makeurmoneyeasy
      @makeurmoneyeasy 3 роки тому +1

      He is not:) it’s just the way video was recorded.

  • @TonyJose9162007
    @TonyJose9162007 3 роки тому +15

    I wonder how you people have matched Hekman's hand movements with the writing in inverse on the screen. I find this technology truly amazing !! I MEAN WOWW!!

    • @AP-eb8hd
      @AP-eb8hd 3 роки тому

      the concept of lightboard works on special glass... used for writing and then mirrors to invert the image.

    • @AP-eb8hd
      @AP-eb8hd 3 роки тому

      Or you can software to reverse.. if its not online real-time streaming

  • @asritakinipulu3821
    @asritakinipulu3821 2 роки тому +2

    I keep coming back to this channel for clear and straight-to-the-point information. Thank you for your explanation.

  • @rahulborade7533
    @rahulborade7533 7 місяців тому +1

    This is just simple - to - understand knowledge, Thanks Nathan!

  • @landertee
    @landertee 2 роки тому +1

    I can't stop focusing on how good Nathan can write backwards

  • @B2STisBaCk
    @B2STisBaCk 2 роки тому +2

    This is really simple, accurate, and flawless. Thank you so much

  • @pmpmersal9375
    @pmpmersal9375 3 роки тому +3

    Your videos are very useful for me.
    But, allow me to add one note.
    You write the notes in two colours, one is bright and clear for me. While I have a problem with the other colour.
    Thanks again and I am sorry for the out of subject note.

  • @MANISH-Dev
    @MANISH-Dev 4 роки тому +4

    Best Explanation on YT...

  • @edwindersingh9300
    @edwindersingh9300 4 роки тому +8

    Nice and simple explanation Nathan, looking forwards to more.

  • @dipan246
    @dipan246 4 роки тому +3

    Superb explanation. If could you please give the actual demo, it would be great. Thank you.

  • @popedavid6668
    @popedavid6668 Рік тому +1

    Thank you!!! Someone who finally simplifies it! Great job!

  • @Deployer
    @Deployer 2 роки тому

    Thank you IBM to explain in a easy way. best explication about the git and GitHub without to much verbiage.

  • @johannes.sbw-media
    @johannes.sbw-media 3 роки тому +3

    If Nathan and Greg work on different branches there will be no merge conflict

  • @alok4002
    @alok4002 2 роки тому +2

    Crystal clear explanation. Any one can understand it. Nice.

  • @josephthecreator
    @josephthecreator 2 роки тому +5

    Thank you for keeping this simple and easy to understand for new comers!

  • @Tooxcade
    @Tooxcade 3 роки тому +5

    Wow, THIS IS AMAZING EXPLANATION. I CAN'T THANK YOU ENOUGH.

  • @kavon9748
    @kavon9748 3 роки тому +8

    Oh thank you! You are amazing to explain it in such a simple way 🙂

  • @julietteugoh
    @julietteugoh Рік тому +1

    I wish i could like this multiple times

  • @ashishkamble8833
    @ashishkamble8833 3 роки тому +4

    You got me at let’s git started !!

  • @Userk2406
    @Userk2406 2 роки тому +3

    Great job Nathan!!!! Seriously brilliant explaination.

  • @milanturkey
    @milanturkey 3 роки тому

    Das Quietschen der Stifte bringt mich um, aber tolles Video!

  • @shyunuw
    @shyunuw 3 роки тому +2

    This clip is extremely useful. You made an excellent job!

    • @IBMTechnology
      @IBMTechnology  3 роки тому +1

      Thank you! We're glad you found it helpful! 👍

  • @kalyanb2002
    @kalyanb2002 Рік тому

    I love the content shared by IBM cloud. The tit bit video's make the concept simple to understand . Thanks to Nathan and all greats who help spread knowledge.

  • @bayesian7404
    @bayesian7404 3 роки тому +1

    Nathan,
    Great job. Plus I also bluegrass so that gets u another star. In comments Singh Noah asked a critical. Read Anton T wrote a very informative reply. While I do not use IBM Cloud, they do provide excellent tutorials.

  • @88gurlygurl
    @88gurlygurl 3 роки тому +2

    Nice - that was a pretty good explanation.

  • @DavidDavida
    @DavidDavida 2 роки тому

    thanks .. i know have vids i can share to friends an family to help essplain what "we do". and why its so great..

  • @NaveenKumar1611-m1v
    @NaveenKumar1611-m1v 8 місяців тому

    Thankyou so much for this clarity with clear example.

  • @lucid1963
    @lucid1963 Рік тому

    Excellent explanation. Very easy to understand.Thank you for the wonderful presentation also.

  • @zenrobotninja
    @zenrobotninja 2 роки тому

    I have learnt so much from this IBM series, thank you so much. Great explanations for so many topics

  • @abnerandreymartinezzamudio3366
    @abnerandreymartinezzamudio3366 2 роки тому

    I can't believe there are people who are passionate about these things

  • @laaven
    @laaven Рік тому

    Well this video deff got me intrested in learning how to use it.

  • @Jay2Ops
    @Jay2Ops Рік тому

    Thanks IBM for the video. I have a better understanding.👍🏼

  • @jaqueann3280
    @jaqueann3280 2 роки тому +1

    Wooow explains dope crystal clear... Understandable 💯

  • @brotendo
    @brotendo 3 роки тому +1

    Is ability to write mirrored is amazing

  • @hlebuska9434
    @hlebuska9434 Рік тому

    Amazing, simple explanation. Thank you!

  • @xinyujiao4464
    @xinyujiao4464 3 роки тому +13

    When Nathan changed the main branch, it was called "push". Why then, when greg wants to make changes, it is called a "pull request"?

    • @anton_t
      @anton_t 3 роки тому +15

      You clone a repo only once, in the very beginning of your work. Both Nathan and Craig cloned the Repo. Then Nathan pushed his changes, but basically he was supposed to pull and merge first, to make sure Craig hadn't already pushed his changes first. So in GIT you do the CLONE action only once - that's how you download the whole huge repository on your local machine. And then whenever you need to make a change, you first PULL the current version (and when you do that only the changes are downloaded, not the whole repository). Then you commit your own change to the branch you have and then you PUSH it to the server/cloud. And until you have finished your PUSH action the system is locked for all the other developers - they cannot commit or push anything until you're done. As soon as you are done pushing (lol) the system gets unlocked again and someone else can do his/her own PULL-COMMIT-PUSH.

    • @magansingh8842
      @magansingh8842 3 роки тому +3

      Submitting a pull request means, Greg is requesting others to pull and give a response (approval or denial) on the new home screen having both Bluegrass and Rock features.

    • @natek3954
      @natek3954 3 роки тому

      @@anton_t thank you for response this really clears things up for me!

    • @conceptrat
      @conceptrat 3 роки тому

      A “pull request“ asks a repo/project to “pull“ changes you've made on your cloned repo into theirs and “merge“ them. This is different to a pull which does a “fetch“ and either “merge“ or “rebase“ from a repo.

  • @bayurahmanadinata3815
    @bayurahmanadinata3815 3 роки тому

    Thank you, I am Indonesian you was give me new knowledge.

  • @Cos_Wayne
    @Cos_Wayne 2 роки тому

    This is very much to the point and easy to understand! Thank you Nathan!

  • @shrutijadhav552
    @shrutijadhav552 3 роки тому +1

    Great explanation

  • @varunaws4432
    @varunaws4432 3 роки тому +2

    really Awesome... superb explination on Git and Github

  • @taha7shaikh
    @taha7shaikh 2 роки тому +1

    Thank you so much man for simply explaining this

  • @itsmemasud
    @itsmemasud 5 місяців тому

    he explained so nicely

  • @natek3954
    @natek3954 3 роки тому +1

    That's are super helpful to visualize what's going on! Thank you!

    • @IBMTechnology
      @IBMTechnology  3 роки тому +1

      Glad you liked our video format, Nate, thanks for watching! You can subscribe to our channel for more videos like this one.😉

  • @duroskylala
    @duroskylala 2 роки тому +1

    Nathan, I have a question on this video. At the end of your example, why did you do a Push and not a Pull and Merge?

  • @lyeejiun99
    @lyeejiun99 3 роки тому +2

    Thank you Nathan, this video is really helpful for me!!!

  • @SilentSolution
    @SilentSolution 3 роки тому +1

    Thanks for your information Sir

  • @ETI-edu
    @ETI-edu 7 місяців тому

    Great explanation Thanks !

  • @boldschool6308
    @boldschool6308 3 роки тому +1

    Deserves a like for sure

  • @swapnilkulkarni6719
    @swapnilkulkarni6719 2 роки тому

    Very well made videos...please share more such content.

  • @raufmasoumi
    @raufmasoumi 2 роки тому +1

    thank you so much! the explanation is too good and simple.

  • @jennwng
    @jennwng 3 роки тому +1

    Great illustration!!! Thank you!!!

  • @tusharg2751
    @tusharg2751 2 роки тому +1

    Perfect explanation. crystal clear.

  • @samreet101
    @samreet101 4 роки тому +4

    That was super helpful. Thanks man!!!

  • @letsgodevs
    @letsgodevs 4 роки тому +2

    Can you do blockchain video
    Not the basic
    Just like zkp , IPFS , how wallet actually work , rules of blockchain development ( longest blockchain rules , POS And ect ...) ....
    So i would be great for me and my university students
    By the way thank you very much fir this great explain ❤️

  • @hidayahBasir-p3u
    @hidayahBasir-p3u 11 місяців тому

    brilliant explanation!

  • @Tony25287
    @Tony25287 10 місяців тому

    Thank you. A great video, as always!

  • @thanurarukshan6696
    @thanurarukshan6696 Рік тому

    Right into the point, Love this😍

  • @TheFonix456
    @TheFonix456 5 місяців тому

    Good job Greg

  • @mzkhan1576
    @mzkhan1576 Рік тому

    thank you. its mindblowing. and great explanation.

  • @596rochak
    @596rochak 3 роки тому +5

    Quick question, could Greg have been able to do the same with a Push request ? When should one do a git Push vs a git pull request ?

    • @dheerajgupta15
      @dheerajgupta15 3 роки тому

      Following.

    • @subbamaggus1
      @subbamaggus1 3 роки тому

      @@dheerajgupta15
      my expirience is that greg and nathan push their branches to the main repo. so that both info is there in gitlab/github.
      and then you create a pull request (so everything is done on the server).
      afterwards you merge the main branch to your local repo, and then push. and create a second pull request on the main repo.
      sounds right?

  • @IBITZEE
    @IBITZEE 4 роки тому +2

    Nice video... good info...
    but "CLI vs Web" should be "Local vs Web"... I can work on the web with CLI tools...
    and when you are explaining creating a branch...
    maybe you should add some more info on how that branch is stored locally...
    and how is stored in the web (if you are using GH/GL/...)
    same for the pull-request... and what happens at storage level...
    ;-) valuable videos... keep them comming...

  • @tigrayrimey6418
    @tigrayrimey6418 2 роки тому

    Explicit and well explained! Thanks.

  • @MDHOSSAIN-gj5ve
    @MDHOSSAIN-gj5ve 3 роки тому

    Excellent explanation. Want more video like this.

  • @MrHav1k
    @MrHav1k 2 роки тому

    Very well done!! Thank you Nathan

  • @ObaidahNaseer
    @ObaidahNaseer 2 роки тому +4

    I think I git it now

  • @g9super
    @g9super Рік тому

    Simple and awesome explanation ☺️

  • @RajeshMenontechnospirituality
    @RajeshMenontechnospirituality 3 роки тому

    Thanks, Nathan.

  • @abdullahnaveed4834
    @abdullahnaveed4834 2 роки тому

    great explanation

  • @nihalbahadir4262
    @nihalbahadir4262 Рік тому

    Thank you Nathan . Good job :)

  • @protectiondata7783
    @protectiondata7783 3 роки тому

    that's what I wanted to ask thank you so much !

  • @semtex6412
    @semtex6412 4 роки тому +4

    top-man Nathan! thanks for the vid. so you know Billy Strings, eh?

  • @mihisarakaveesha8954
    @mihisarakaveesha8954 2 роки тому

    Crystal Clear. Great Job.

  • @tekwevera1049
    @tekwevera1049 Рік тому

    Thanks Nathan

  • @cuddy90210
    @cuddy90210 4 роки тому +4

    Nice!... Excellent teaching!

  • @Milka-br1xw
    @Milka-br1xw 2 роки тому

    Now thats a real good Video, thank you!

  • @hiteshsuthar1097
    @hiteshsuthar1097 3 роки тому +1

    Simplicity 🙏

  • @TheGloriousRussian
    @TheGloriousRussian 3 роки тому +2

    I'm a little bit confused why for Greg it's called Pull Request but not Push Request isn't he is pushing his changes to the GitHub repository as Nathan did before?

  • @jeepgc3530
    @jeepgc3530 4 роки тому +3

    Thank you Nathan, excellent overview and explanation :-)

  • @JosePayano
    @JosePayano 2 роки тому

    Thanks Natham! Truly appreciate the straightforward way you use to explain what otherwise would be a complex subject...
    MY QUESTION: Which, I think you didn't mention is 'why are these platforms called "GIT"? I don't see any related meaning to 'Version Control Systems'. What exactly is the origin of the Acronym?

    • @IBMTechnology
      @IBMTechnology  2 роки тому +2

      According to Wikipedia...
      Torvalds sarcastically quipped about the name git (which means "unpleasant person" in British English slang): "I'm an egotistical bastard, and I name all my projects after myself. First 'Linux', now 'git'."
      en.wikipedia.org/wiki/Git#Naming

  • @Sumanth_Siddareddy
    @Sumanth_Siddareddy 2 роки тому

    A very nice & pretty well explanation 👏 👍

  • @rmmm3000
    @rmmm3000 2 роки тому

    thanks for the tutorial!

  • @MS-xp4vt
    @MS-xp4vt 3 роки тому +2

    This is Awesome

  • @CHRISUJI_
    @CHRISUJI_ 3 роки тому +2

    this is awesome thanks for the video!

  • @RB-lc8lh
    @RB-lc8lh Рік тому

    I couldn't focus on what he was saying as I was too fascinated by the lightboard technology that made it look like he was writing backwards. 😲

  • @AJKirby64
    @AJKirby64 Рік тому

    Wow. Just 30 seconds in you insert ear destroying squeaks. Who knows if the rest of the video was any good but I have learnt that IBM for all its brilliance can't control painfully loud feedback.

  • @digitaldevilstv4896
    @digitaldevilstv4896 Рік тому

    Thank you sooooo much for this.

  • @M1gas
    @M1gas 3 роки тому +1

    please consider removing those high pitched sounds from the market on the glass. its painful.
    Thank you so much fior the video!

  • @PattyJames3478
    @PattyJames3478 2 роки тому

    Great video!