Git vs. GitHub: What's the difference?

แชร์
ฝัง
  • เผยแพร่เมื่อ 8 พ.ค. 2024
  • Learn more about Git Repos and Issue Tracking: ibm.biz/git-repos-and-issue-tr...
    Explore DevOps and Git integrations in this free tutorial: ibm.biz/devops-and-git-integra...
    Check out IBM Cloud Shell: ibm.biz/product-ibm-cloud-shell
    Check out IBM Cloud Continuous Delivery: ibm.biz/ibm-cloud-continuous-d...
    ► Earn a badge with FREE interactive Kubernetes labs: ibm.biz/hands-on-k8s-labs
    What is Git and what is it used for? What is the difference between Git and GitHub, or GitLab?
    In this lightboard video, Nathan Hekman with IBM Cloud, answers these questions and much more by using an example of a media streaming company that has two developers who need to write code at the same time on the same code base without conflicting with each other in order to build a new music streaming app.
    Get started on IBM Cloud at no cost: ibm.biz/sign-up-free-cloud-acc...
    Subscribe to see more videos like this in the future → ibm.biz/subscribe-now
    #Git #GitHub #GitLab
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 278

  • @Insain71
    @Insain71 ปีที่แล้ว +29

    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.

  • @andresalvarez7303
    @andresalvarez7303 2 ปีที่แล้ว +359

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

    • @alejandroperez5368
      @alejandroperez5368 2 ปีที่แล้ว +40

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

    • @azzhargono721
      @azzhargono721 2 ปีที่แล้ว +7

      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 3 ปีที่แล้ว +51

    Simple, crystal clear with examples.. perfect 👌

  • @colorfuljosh
    @colorfuljosh 3 ปีที่แล้ว +21

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

  • @asritakinipulu3821
    @asritakinipulu3821 ปีที่แล้ว +2

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

  • @B2STisBaCk
    @B2STisBaCk ปีที่แล้ว +2

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

  • @edwindersingh9300
    @edwindersingh9300 3 ปีที่แล้ว +8

    Nice and simple explanation Nathan, looking forwards to more.

  • @zenrobotninja
    @zenrobotninja ปีที่แล้ว

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

  • @TrKaris
    @TrKaris 11 หลายเดือนก่อน +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 2 วันที่ผ่านมา

      You taught me Networking MMU 🫡

  • @kavon9748
    @kavon9748 3 ปีที่แล้ว +8

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

  • @Cos_Wayne
    @Cos_Wayne ปีที่แล้ว

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

  • @josephthecreator
    @josephthecreator 2 ปีที่แล้ว +5

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

  • @MrEvansjethro
    @MrEvansjethro 2 ปีที่แล้ว +73

    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 ปีที่แล้ว

      Right?

  • @Userk2406
    @Userk2406 2 ปีที่แล้ว +3

    Great job Nathan!!!! Seriously brilliant explaination.

  • @Tooxcade
    @Tooxcade 3 ปีที่แล้ว +5

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

  • @lyeejiun99
    @lyeejiun99 3 ปีที่แล้ว +2

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

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

  • @dipan246
    @dipan246 3 ปีที่แล้ว +3

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

  • @popedavid6668
    @popedavid6668 10 หลายเดือนก่อน +1

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

  • @hlebuska9434
    @hlebuska9434 7 หลายเดือนก่อน

    Amazing, simple explanation. Thank you!

  • @lucid1963
    @lucid1963 11 หลายเดือนก่อน

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

  • @user-bu7hm6ol2r
    @user-bu7hm6ol2r หลายเดือนก่อน

    Thankyou so much for this clarity with clear example.

  • @samreet101
    @samreet101 3 ปีที่แล้ว +4

    That was super helpful. Thanks man!!!

  • @yatin1370
    @yatin1370 23 วันที่ผ่านมา

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

  • @rahulborade7533
    @rahulborade7533 21 วันที่ผ่านมา

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

  • @taha7shaikh
    @taha7shaikh 2 ปีที่แล้ว +1

    Thank you so much man for simply explaining this

  • @talatshahgmailcom
    @talatshahgmailcom 2 ปีที่แล้ว

    Nice and simple overview. Great work :) Thanks.

  • @iconeers
    @iconeers 2 หลายเดือนก่อน

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

  • @Deployer
    @Deployer ปีที่แล้ว

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

  • @tigrayrimey6418
    @tigrayrimey6418 ปีที่แล้ว

    Explicit and well explained! Thanks.

  • @raufmasoumi
    @raufmasoumi 2 ปีที่แล้ว +1

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

  • @tusharg2751
    @tusharg2751 2 ปีที่แล้ว +1

    Perfect explanation. crystal clear.

  • @MANISH-Dev
    @MANISH-Dev 3 ปีที่แล้ว +4

    Best Explanation on YT...

  • @shyunuw
    @shyunuw 2 ปีที่แล้ว +2

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

    • @IBMTechnology
      @IBMTechnology  2 ปีที่แล้ว +1

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

  • @MDHOSSAIN-gj5ve
    @MDHOSSAIN-gj5ve 2 ปีที่แล้ว

    Excellent explanation. Want more video like this.

  • @jennwng
    @jennwng 2 ปีที่แล้ว +1

    Great illustration!!! Thank you!!!

  • @g9super
    @g9super ปีที่แล้ว

    Simple and awesome explanation ☺️

  • @jaqueann3280
    @jaqueann3280 2 ปีที่แล้ว +1

    Wooow explains dope crystal clear... Understandable 💯

  • @mihisarakaveesha8954
    @mihisarakaveesha8954 2 ปีที่แล้ว

    Crystal Clear. Great Job.

  • @user-xo7qy1vc3e
    @user-xo7qy1vc3e 5 หลายเดือนก่อน

    brilliant explanation!

  • @swapnilkulkarni6719
    @swapnilkulkarni6719 ปีที่แล้ว

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

  • @laaven
    @laaven 8 หลายเดือนก่อน

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

  • @Tony25287
    @Tony25287 3 หลายเดือนก่อน

    Thank you. A great video, as always!

  • @MrHav1k
    @MrHav1k ปีที่แล้ว

    Very well done!! Thank you Nathan

  • @conceptrat
    @conceptrat 2 ปีที่แล้ว +6

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

    • @makeurmoneyeasy
      @makeurmoneyeasy 2 ปีที่แล้ว +1

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

  • @vedkorla300
    @vedkorla300 ปีที่แล้ว +5

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

  • @CHRISUJI_
    @CHRISUJI_ 3 ปีที่แล้ว +2

    this is awesome thanks for the video!

  • @DavidDavida
    @DavidDavida ปีที่แล้ว

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

  • @nmartin32950
    @nmartin32950 3 ปีที่แล้ว +31

    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 2 ปีที่แล้ว

      did you find answers ?

    • @semihozkan8514
      @semihozkan8514 2 ปีที่แล้ว

      @@adalovelac24 did he/she find answers?

    • @adebiyial
      @adebiyial 2 ปีที่แล้ว +29

      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 ปีที่แล้ว

      @@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 ปีที่แล้ว

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

  • @ashishkamble8833
    @ashishkamble8833 3 ปีที่แล้ว +4

    You got me at let’s git started !!

  • @alok4002
    @alok4002 2 ปีที่แล้ว +2

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

  • @Jay2Ops
    @Jay2Ops ปีที่แล้ว

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

  • @mzkhan1576
    @mzkhan1576 7 หลายเดือนก่อน

    thank you. its mindblowing. and great explanation.

  • @jeepgc3530
    @jeepgc3530 3 ปีที่แล้ว +3

    Thank you Nathan, excellent overview and explanation :-)

  • @thanurarukshan6696
    @thanurarukshan6696 ปีที่แล้ว

    Right into the point, Love this😍

  • @88gurlygurl
    @88gurlygurl 2 ปีที่แล้ว +2

    Nice - that was a pretty good explanation.

  • @shrutijadhav552
    @shrutijadhav552 2 ปีที่แล้ว +1

    Great explanation

  • @natek3954
    @natek3954 2 ปีที่แล้ว +1

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

    • @IBMTechnology
      @IBMTechnology  2 ปีที่แล้ว +1

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

  • @SilentSolution
    @SilentSolution 2 ปีที่แล้ว +1

    Thanks for your information Sir

  • @boldschool6308
    @boldschool6308 2 ปีที่แล้ว +1

    Deserves a like for sure

  • @duroskylala
    @duroskylala ปีที่แล้ว +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?

  • @rmmm3000
    @rmmm3000 2 ปีที่แล้ว

    thanks for the tutorial!

  • @ETI-edu
    @ETI-edu 15 วันที่ผ่านมา

    Great explanation Thanks !

  • @carsten2600
    @carsten2600 ปีที่แล้ว

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

  • @nihalbahadir4262
    @nihalbahadir4262 ปีที่แล้ว

    Thank you Nathan . Good job :)

  • @varunaws4432
    @varunaws4432 2 ปีที่แล้ว +2

    really Awesome... superb explination on Git and Github

    • @MichaelKssf
      @MichaelKssf 9 หลายเดือนก่อน

      4:20

  • @protectiondata7783
    @protectiondata7783 2 ปีที่แล้ว

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

  • @freqtion
    @freqtion ปีที่แล้ว

    beautifully explained

  • @Milka-br1xw
    @Milka-br1xw ปีที่แล้ว

    Now thats a real good Video, thank you!

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

  • @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 2 ปีที่แล้ว

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

    • @AP-eb8hd
      @AP-eb8hd 2 ปีที่แล้ว

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

  • @abdullahnaveed4834
    @abdullahnaveed4834 ปีที่แล้ว

    great explanation

  • @bayesian7404
    @bayesian7404 2 ปีที่แล้ว +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.

  • @Sumanth_Siddareddy
    @Sumanth_Siddareddy ปีที่แล้ว

    A very nice & pretty well explanation 👏 👍

  • @kevinedmond6507
    @kevinedmond6507 9 หลายเดือนก่อน

    Hello good morning Nathan! I have watched your video regarding GIT, at present, I am a student of Data Analytics, can I use GIT as my repository for my studies? Thanks

  • @digitaldevilstv4896
    @digitaldevilstv4896 ปีที่แล้ว

    Thank you sooooo much for this.

  • @cuddy90210
    @cuddy90210 3 ปีที่แล้ว +4

    Nice!... Excellent teaching!

    • @MichaelKssf
      @MichaelKssf 9 หลายเดือนก่อน

      4:31

  • @bayurahmanadinata3815
    @bayurahmanadinata3815 2 ปีที่แล้ว

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

  • @RajeshMenontechnospirituality
    @RajeshMenontechnospirituality 2 ปีที่แล้ว

    Thanks, Nathan.

  • @tekwevera1049
    @tekwevera1049 ปีที่แล้ว

    Thanks Nathan

  • @rorywquin
    @rorywquin 3 ปีที่แล้ว

    Well presented Tx.

  • @julietteugoh
    @julietteugoh 10 หลายเดือนก่อน

    I wish i could like this multiple times

  • @MS-xp4vt
    @MS-xp4vt 2 ปีที่แล้ว +2

    This is Awesome

  • @ilostIneurope
    @ilostIneurope 3 ปีที่แล้ว +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 ❤️

  • @PattyJames3478
    @PattyJames3478 2 ปีที่แล้ว

    Great video!

  • @JosePayano
    @JosePayano ปีที่แล้ว

    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

      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

  • @hiteshsuthar1097
    @hiteshsuthar1097 2 ปีที่แล้ว +1

    Simplicity 🙏

  • @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 2 ปีที่แล้ว

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

  • @rosiechong5415
    @rosiechong5415 2 ปีที่แล้ว

    amazing video!

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

  • @milanturkey
    @milanturkey 2 ปีที่แล้ว

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

  • @nesiety
    @nesiety 2 ปีที่แล้ว

    so good man

  • @ilostIneurope
    @ilostIneurope 3 ปีที่แล้ว

    Great video

  • @HiiImChris
    @HiiImChris ปีที่แล้ว

    wow thankyou mister man this are just great and im not able belive me eye ball that how great it are for me cuz im are new learn the hacker programmer coding engineering of the software and now im know what are the git that great thank you mister

  • @landertee
    @landertee 2 ปีที่แล้ว +1

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

  • @seyfutsegaye112
    @seyfutsegaye112 2 ปีที่แล้ว

    super helpful

  • @johannes.sbw-media
    @johannes.sbw-media 2 ปีที่แล้ว +2

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

  • @syedahmad5655
    @syedahmad5655 5 หลายเดือนก่อน

    Thanks. Quick question. How is code in Git repo put together and what is a build process?

  • @leosan3853
    @leosan3853 2 ปีที่แล้ว

    Keep posting videos!

    • @IBMTechnology
      @IBMTechnology  2 ปีที่แล้ว

      Haha, we will, Leo, thanks for the feedback! 😉 Be sure to subscribe to get notified about the new ones.

  • @pragatibansal9492
    @pragatibansal9492 3 ปีที่แล้ว +1

    Great video😁.. I have a doubt does grey have to do all its work again after pulling the updated code

    • @username-1043
      @username-1043 3 ปีที่แล้ว +1

      No. He just has to resolve merge conflicts which will be visible on Greys' code. He can keep all , some and none part of the pulled code.

    • @TwstedTV
      @TwstedTV 2 ปีที่แล้ว

      @@username-1043 Also due note, that just because you make a Pull Request (PR) doesnt mean it will get accepted. It can be denied for any reason.
      It will get denied by whomever is in charge of overseeing the github project.
      I say this, because some people have the sense of belief that they can just put up any code they want. which is not true. It goes through an approval process first.