Git Tutorial for Beginners - Git & GitHub Fundamentals In Depth

This git tutorial for beginners is designed to teach you the git command line tool and how it works with github. This beginner git tutorial teaches github fundamentals and explains concepts like branches, pushing, merge conflicts and many other useful git commands. It goes through the git workflow and illustrates how git and github work on a lower level.
💻 Git Download: git-scm.com/
🖱 GitHub Website: github.com/
⌨ 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~
⭐️ Timestamps ⭐️
00:00 - Introduction
01:22 - Git vs GitHub
03:00 - GitHub Workflow
07:09 - Git History and Branches
15:15 - GitHub UI Example
16:51 - Git Setup
18:53 - Basic Git Commands
24:24 - Branches
28:43 - Remote Repositories
33:08 - Global Config
35:09 - More Examples
◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾
🔊 Subscribe to my second channel for weekly podcasts! / @timeoutwithtim
💰 Courses & Merch 💰
💻 The Fundamentals of Programming w/ Python: tech-with-tim.teachable.com/p...
👕 Merchandise: teespring.com/stores/tech-wit...
🔗 Social Medias 🔗
📸 Instagram: / tech_with_tim
📱 Twitter: / techwithtimm
⭐ Discord: / discord
📝 LinkedIn: / tim-ruscica-82631b179
🌎 Website: techwithtim.net
📂 GitHub: github.com/techwithtim
🔊 Podcast: anchor.fm/tech-with-tim
🎬 My KZread Gear 🎬
🎥 Main Camera (EOS Canon 90D): amzn.to/3cY23y9
🎥 Secondary Camera (Panasonic Lumix G7): amzn.to/3fl2iEV
📹 Main Lens (EFS 24mm f/2.8): amzn.to/2Yuol5r
🕹 Tripod: amzn.to/3hpSprv
🎤 Main Microphone (Rode VideoMic Pro): amzn.to/3d0KKMG
🎤 Secondary Microphone (Synco Wireless Lapel System): amzn.to/3e07Swl
🎤 Third Microphone (Blue Yeti USB Mic): amzn.to/3hoD625
☀️ Lights: amzn.to/2ApeiXr
⌨ Keyboard (Daskeyboard 4Q): amzn.to/2YpN5vm
🖱 Mouse (Steelseries Rival 300): amzn.to/3cVTqnD
📸 Webcam (Logitech 1080p Pro): amzn.to/2B2IXcQ
📢 Speaker (Beats Pill): amzn.to/2XYc5ef
🎧 Headphones (Bose Quiet Comfort 35): amzn.to/2MWbl3e
🌞 Lamp (BenQ E-reading Lamp): amzn.to/3e0UCr8
🌞 Secondary Lamp (BenQ Screenbar Plus): amzn.to/30Dtafi
💻 Main Monitor (LG 4K): amzn.to/37ybtiH
💻 Secondary Monitor (Thinkvision 1080p): amzn.to/2AyHR8H
🎤 XLR Microphone (Rode NT1): Not available
🎙 Mic Boom Arm (Rode PSA 1): amzn.to/30EZw9m
🎚 Audio Interface (Behringer 4 Channel): amzn.to/3fqm4z3
💾 Recorder (Zoom H6): amzn.to/2UIihVJ
◾ 💸 Donations 💸 ◾
💵 One-Time Donations: www.paypal.com/donate/?token=...
💰 Patreon: / techwithtim
◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾
⚡ Please leave a LIKE and SUBSCRIBE for more content! ⚡
⭐ Tags ⭐
- Tech With Tim
- Github for beginners
- Beginner GitHub tutorial
- Git for beginners
- Github fundamentals
- Beginner GitHub Tutorial
⭐ Hashtags ⭐
#GitHub #Git

Пікірлер: 638

  • @TechWithTim
    @TechWithTim4 жыл бұрын

    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 жыл бұрын

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

  • @sudhamajayanthi

    @sudhamajayanthi

    4 жыл бұрын

    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 жыл бұрын

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

  • @FadiZain

    @FadiZain

    4 жыл бұрын

    Tim this was fantastic man, well done!

  • @ellahalaida4808

    @ellahalaida4808

    3 жыл бұрын

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

  • @gtv3582
    @gtv35824 жыл бұрын

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

  • @xavi_6767

    @xavi_6767

    4 жыл бұрын

    nice idea not gonna lie XD

  • @tumblrbulbasaur5698

    @tumblrbulbasaur5698

    4 жыл бұрын

    ik people whose do this lol

  • @rmsmith144

    @rmsmith144

    3 жыл бұрын

    Is this a legit thing?

  • @alephanull1953

    @alephanull1953

    3 жыл бұрын

    I either used to put it on drive or pastebin XD

  • @harshalzade5609

    @harshalzade5609

    3 жыл бұрын

    @Saketh p 😂💀

  • @nopens
    @nopens4 жыл бұрын

    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.

  • @damagee8141

    @damagee8141

    4 жыл бұрын

    True!

  • @jonathanjohnson2785
    @jonathanjohnson27852 жыл бұрын

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

  • @JollyBeJolly
    @JollyBeJolly4 жыл бұрын

    Couldnt have been a more perfect time

  • @NoName-nb1yu

    @NoName-nb1yu

    4 жыл бұрын

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

  • @craiglobo2165

    @craiglobo2165

    4 жыл бұрын

    I swear

  • @Spironic
    @Spironic3 жыл бұрын

    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

  • @FredSq

    @FredSq

    8 ай бұрын

    exactly

  • @richiemello3447
    @richiemello3447 Жыл бұрын

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

  • @Hintz6
    @Hintz6 Жыл бұрын

    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.

  • @henderstech
    @henderstech2 жыл бұрын

    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.

  • @snow9009
    @snow90093 жыл бұрын

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

  • @xhappybunnyx
    @xhappybunnyx Жыл бұрын

    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

  • @testpurpose5161
    @testpurpose51614 жыл бұрын

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

  • @almuhimen8023

    @almuhimen8023

    4 жыл бұрын

    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 жыл бұрын

    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

  • @shellymillet5365
    @shellymillet53653 жыл бұрын

    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.

  • @matthewpaolini
    @matthewpaolini3 жыл бұрын

    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.

  • @chloezhu1475
    @chloezhu14753 жыл бұрын

    the clearest tutorial I've found on KZread. Thank you Tim you are a legend!

  • @sancrosanct5070
    @sancrosanct50702 жыл бұрын

    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.

  • @samu_el_pack
    @samu_el_pack3 жыл бұрын

    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.

  • @abhinavghosh725
    @abhinavghosh7254 жыл бұрын

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

  • @kimaegaii
    @kimaegaii2 жыл бұрын

    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!

  • @adamoja4295
    @adamoja42952 жыл бұрын

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

  • @ElementUser
    @ElementUser4 жыл бұрын

    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!

  • @gentmoth1726
    @gentmoth1726 Жыл бұрын

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

  • @mubashirali9396
    @mubashirali93962 жыл бұрын

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

  • @david_law
    @david_law Жыл бұрын

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

  • @boontecklee592
    @boontecklee5923 жыл бұрын

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

  • @ThamiresCaetano
    @ThamiresCaetano3 жыл бұрын

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

  • @techsupport5064
    @techsupport50642 жыл бұрын

    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.

  • @7keycoaching
    @7keycoaching Жыл бұрын

    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.

  • @523101997
    @5231019972 жыл бұрын

    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!

  • @m.fowosebolaji5218
    @m.fowosebolaji52182 жыл бұрын

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

  • @sarthakkrishna1737
    @sarthakkrishna17372 жыл бұрын

    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

  • @smortemm2438
    @smortemm24382 жыл бұрын

    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

  • @desislavaandreeva4359
    @desislavaandreeva43594 жыл бұрын

    That’s brilliant! I was hoping for this video as I saw a few comments for people asking for it! Thank you Tim!

  • @andyhawaii2819
    @andyhawaii2819 Жыл бұрын

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

  • @unicorn_tamer
    @unicorn_tamer2 жыл бұрын

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

  • @santiagobedoya1180
    @santiagobedoya11803 жыл бұрын

    Amazing tutorial, the clearest explanation I've found on KZread. You are a great teacher, thank you !

  • @dareytemy
    @dareytemy2 жыл бұрын

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

  • @conqu3red545
    @conqu3red5454 жыл бұрын

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

  • @smile768
    @smile7683 жыл бұрын

    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.

  • 4 жыл бұрын

    Excellent tutorial. Complete and simple, as like as a tutorial should be! Thank you very much.

  • @davisbennett
    @davisbennett3 жыл бұрын

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

  • @Sheerohcooks
    @Sheerohcooks3 ай бұрын

    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🤗

  • @billieporter156
    @billieporter1562 жыл бұрын

    Very helpful! Thanks for taking the time to make this. I have always made messes of my git commands and git flow and this clarified a LOT for me.

  • @santhoshxd
    @santhoshxd4 жыл бұрын

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

  • @PetterIvarsson
    @PetterIvarsson Жыл бұрын

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

  • @sasidharan4460
    @sasidharan44604 жыл бұрын

    Perfect time Tim !! Just wanted this!

  • @vlvbeats517
    @vlvbeats517 Жыл бұрын

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

  • @russnagel1
    @russnagel13 жыл бұрын

    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.

  • @mohammedabrarahmed3299
    @mohammedabrarahmed3299 Жыл бұрын

    Excellent! This is what I wanted! Super simple explanation with examples. Thanks a lot Tim!

  • @weniomer6385
    @weniomer63852 жыл бұрын

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

  • @thisisdavidsmind3067
    @thisisdavidsmind30672 жыл бұрын

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

  • @jafetsalo
    @jafetsalo2 жыл бұрын

    You did a great job, and allowed me to grasp this otherwise challenging topic. In fact, you introduced fundamentals as they should. When I checked other videos they digress, and that makes one lose focus. Thank you for real!!

  • @CoachGrimes
    @CoachGrimes2 жыл бұрын

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

  • @thelivelyhacks
    @thelivelyhacks4 жыл бұрын

    Your thumbnails are really good. Gives the 2020 aesthetic.

  • @jamesberesford7310
    @jamesberesford7310 Жыл бұрын

    Absolutely brilliant. You taught me everything I wanted and more! Thanks Tim

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

  • @avtem
    @avtem2 жыл бұрын

    That was on of the greatest learning videos i've watched in my life. You explain stuff so well, wow!

  • @salazarrosalesmaximiliano9225
    @salazarrosalesmaximiliano92254 жыл бұрын

    Thank you, Tim! This is the exact tutorial I was looking for!

  • @jenisrai1699
    @jenisrai16993 жыл бұрын

    Simple, well explained, and best git and repo tutorial over the internet. Many thanks!

  • @petermcmaster6673
    @petermcmaster66733 жыл бұрын

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

  • @dnlbellfield
    @dnlbellfield3 жыл бұрын

    This great video pairs well with the git book from the git website's docs section. You are very clear and explicit with your explanations. Thanks for making this helpful video!

  • @ishankhambhaliya960
    @ishankhambhaliya960 Жыл бұрын

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

  • @juliofavourite7490
    @juliofavourite74902 жыл бұрын

    Many thanks, Tim! Glad I passed by here.

  • @Edin0vic
    @Edin0vic Жыл бұрын

    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!

  • @anthonyphilpot6178
    @anthonyphilpot61783 жыл бұрын

    I love this. I just started getting into javascript (front end ) and this was so helpful and simple. RARE! thanks

  • @jarlgreen1630
    @jarlgreen16302 жыл бұрын

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

  • @sunda_
    @sunda_2 жыл бұрын

    You save my life, mate! Thank you from Brazil!

  • @susmantobealivebruh4238
    @susmantobealivebruh42382 жыл бұрын

    Wow love this! A really good explanation and was easy to understand about the concepts! Your really making out futures right here! Good luck on your future projects and your life as well sir!

  • @daryx.langdale
    @daryx.langdale3 жыл бұрын

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

  • @thewhopper411
    @thewhopper4112 жыл бұрын

    Best Git and GitHub video on KZread! Thank you

  • @kellibrecunier9894
    @kellibrecunier98943 жыл бұрын

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

  • @alexanderwesley2830
    @alexanderwesley28309 ай бұрын

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

  • @mudyeet_
    @mudyeet_4 жыл бұрын

    dang this is exactly what I was lookin for, Thanksl

  • @realB12
    @realB123 жыл бұрын

    High Tim, this is really excellent stuff I will highly recommend to my clients and friends. Keep going!

  • @kishpattel92
    @kishpattel922 жыл бұрын

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

  • @nurlanikhsanov6531
    @nurlanikhsanov65312 жыл бұрын

    Thanks for the content, Tim! That was great for beginners, well explained. Keep going!

  • @Tom-xy9gb
    @Tom-xy9gb Жыл бұрын

    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!

  • @Dsky44
    @Dsky442 жыл бұрын

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

  • @kurtsmock3071
    @kurtsmock30712 жыл бұрын

    I really appreciate the level of detail you went into with this. Great video

  • @GwresYnKernow
    @GwresYnKernow2 жыл бұрын

    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.

  • @maxbook1479
    @maxbook14793 жыл бұрын

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

  • @pleasebcool2006
    @pleasebcool20062 жыл бұрын

    Finally I understood github and git. Thank you so much!

  • @avinashreddy6918
    @avinashreddy69183 жыл бұрын

    This is such a great tutorial Tim, thank you!

  • @fawadmahdi
    @fawadmahdiАй бұрын

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

  • @albusaidy
    @albusaidy4 жыл бұрын

    Awesome video again, keep up the good work Tim✌

  • @devwxyz
    @devwxyz2 жыл бұрын

    thank you for the visual representations !! it really helped me understand the fundamentals.

  • @pingme1943
    @pingme19432 жыл бұрын

    Thanks for this explanation it is clear and the pace was just right. I took a lot of notes. I'm a senior still learning new things everyday especially computer programing as a hobby

  • @RishabhJain-iz5xk
    @RishabhJain-iz5xk2 жыл бұрын

    best video on git and github i found till today

  • @mdogtheboss
    @mdogtheboss4 жыл бұрын

    Bless up Mr. Tim

  • @ahmed_raaphat
    @ahmed_raaphat Жыл бұрын

    One of the best and most underrated GitHub tutorials ever!

  • @adriancamposheredia9681
    @adriancamposheredia96814 жыл бұрын

    Amazing video, I needed this so bad, thx a lot Tim :D

  • @rohansylvain1702
    @rohansylvain17024 жыл бұрын

    You always upload at the perfect time!!

  • @FullBrainiac
    @FullBrainiac Жыл бұрын

    I'm delighted !!!

  • @unpatel1
    @unpatel12 жыл бұрын

    This was a nice video! This is a bit challenging topic but you explained it nicely.Thank you Tim!

  • @dogedingo1535
    @dogedingo1535 Жыл бұрын

    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

  • @ayushp7164
    @ayushp71643 жыл бұрын

    Chandler : Could this be more perfect !!!! Amazing video , man.

  • @deanoneill4696
    @deanoneill46963 жыл бұрын

    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.

  • @sebastianquirarte6705
    @sebastianquirarte67057 ай бұрын

    Great tutorial, this really helped me finally understand git and github, thank you Tim!

  • @TheSnakeCro
    @TheSnakeCro2 жыл бұрын

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

  • @abdelrahmannkamal
    @abdelrahmannkamal2 жыл бұрын

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