Git And GitHub in ~30 Minutes

⭐️ Join KodeKloud Engineer for free and upgrade your DevOps skills: bit.ly/3uywWm3
Welcome back to this Tech With Tim Git/GitHub tutorial! In this video, I'll be showing you everything you need to know about Git/GitHub to get started as a beginner, and as fast as possible. I'll talk about how Git and GitHub work, the differences between them, and what these commands actually do. This includes local repositories, tracked and untracked files, staging, branches, remote repositories, commits, and more!
📄 Resources 📄
Download Sublime Text: www.sublimetext.com/
Download Git: git-scm.com/downloads
Git/GitHub Fundamentals (For Beginners): • Git Tutorial for Begin...
⭐️ Timestamps ⭐️
02:12 | Git vs Github
03:53 | Installing Git
04:14 | Init Local Repository
07:26 | Staging Area & Git Tracking
08:23 | Git Status
10:35 | Add and Remove From Staging Area
11:41 | Commits
15:00 | Branches
20:48 | Merging Branches
22:09 | Merge Conflicts
25:17 | Remote Repositories
31:00 | Git Clone
◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️
💰 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 NT1): amzn.to/2HrZxXc
🎤 Secondary Microphone (Synco Wireless Lapel System): amzn.to/3e07Swl
🎤 Third Microphone (Rode NTG4+): amzn.to/3oi0v8Z
☀️ Lights: amzn.to/2ApeiXr
⌨ Keyboard (Daskeyboard 4Q): amzn.to/2YpN5vm
🖱 Mouse (Logitech MX Master): amzn.to/2HsmRDN
📸 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
💻 Monitor (BenQ EX2780Q): amzn.to/2HsmUPZ
💻 Monitor (LG Ultrawide 34WN750): amzn.to/3dSD7tS
🎙 Mic Boom Arm (Rode PSA 1): amzn.to/30EZw9m
🎚 Audio Interface (Focusrite Scarlet 4i4): amzn.to/2TjXsih
💸 Donations 💸
💵 One-Time Donations: www.paypal.com/donate?hosted_...
💰 Patreon: / techwithtim
◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️
⭐️ Tags ⭐️
- GitHub
- Git
- GitHub tutorial
- Installing Git
- Commits
- Git clone
- Git status
- Tech With Tim
⭐️ Hashtags ⭐️
#GitHub #TechWithTim

Пікірлер: 118

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

    ⭐️Join KodeKloud Engineer for free and upgrade your DevOps skills: bit.ly/3uywWm3

  • @sethtomas8257

    @sethtomas8257

    3 жыл бұрын

    A trick : watch movies at flixzone. Been using it for watching loads of movies these days.

  • @oscarangelo9776

    @oscarangelo9776

    3 жыл бұрын

    @Seth Tomas definitely, I've been using Flixzone for since november myself :D

  • @ajmirsk2244

    @ajmirsk2244

    3 жыл бұрын

    Er edrFftff teff get e

  • @supertenchoo4271

    @supertenchoo4271

    3 жыл бұрын

    I found new issue when you delete a project it ask me to create encription key when i try to clone the project and add . the am getting this error The file will have its original line endings in your working directory error: open("Temp/UnityLockfile"): Permission denied error: unable to index file 'Temp/UnityLockfile' fatal: adding files failed

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

    Here are all of the commands that were covered in this video: Main commands: git init - initialise git repo inside a directory git status - view the staging area git add - add/re-add file to the staging area git add . - add all files to the staging area git rm --cached - remove file from the staging area git commit -m "" - commit staged changes to git repo with a message git commit -am "" - add all files to staging area then commit Branch commands: git checkout -b - create a new branch git checkout - switch to a branch git branch - view all branches git merge - overlay work from branch name onto the current branch git branch -M - rename current branch to branch name Remote Repo commands: git remote add origin - add the url to the repo as a remote with name origin git push -u origin - upload changes in a branch to origin (the remote repo) git pull - get changes in remote repo git clone - clone remote repo and save it to a new directory

  • @jonathanlo9210
    @jonathanlo92103 жыл бұрын

    For any beginners here using version control in a team setting -- you generally want to avoid the git add . (add all files) command, unless you are 100% certain you want to include all changes to be pushed up into the git repo. Adding any unnecessary files may cause headaches and extra work if you're not being careful. As always, thank you for the content, Tim!

  • @supertenchoo4271

    @supertenchoo4271

    3 жыл бұрын

    how to exclude temp file then

  • @shail0124

    @shail0124

    Жыл бұрын

    You can just simply specify files and directories to ignore in .gitignore file

  • @kenet7877
    @kenet78773 жыл бұрын

    Tim helping to cultivate future programmers with these simple videos! Love your videos.

  • @luqmanhamdan9285
    @luqmanhamdan92853 жыл бұрын

    Hey Tim, thanks for the tutorial. It really help me understand certain concept and you break it down to simple easy to digest word. Great work.

  • @rakeshchowdhury202
    @rakeshchowdhury2023 жыл бұрын

    Thanks for making my git repo cleaner lol. The sponsor is cool btw. Honestly this is the first sponsor I liked on a video.

  • @huydang6059
    @huydang60592 жыл бұрын

    Thankyou very much for this tutorial. It helps me a lot. It makes it way more easier when somebody is showing that in real instead of graphic representation

  • @ChrisTietjen_00
    @ChrisTietjen_002 жыл бұрын

    As a beginner I thought your previous beginner video was better because of your blackboard introduction. This video consolidated the earlier video information and added a few items that you glossed over or didn't include in the earlier one. I wouldn't have gotten as much out of it if I hadn't watched the first one. The overview from the blackboard definitely has an impact for a beginner.

  • @asadullahaziz
    @asadullahaziz3 жыл бұрын

    Thanks for the tutorial really needed this at this time. This is all i wanted to know. Looking forward to the more advanced video for this.

  • @t0m0b0nes
    @t0m0b0nes3 жыл бұрын

    great summary of all necessary for commands. thank you! 🙏

  • @blazi_0
    @blazi_03 жыл бұрын

    You know what we need 😌 Thank u Tim sooooooo much !!!!!!

  • @Toam99
    @Toam995 ай бұрын

    I am 06:55 minutes in and your way of explaining things is really fantastic!! Thank you so much Tim ❤

  • @mikecann4438
    @mikecann44383 жыл бұрын

    This was extremely helpful, thank you Tim!

  • @philosophyindepth.3696
    @philosophyindepth.3696 Жыл бұрын

    4:40 git init command initialize repository in proper directory 5:40 go to folder(in cmd) where you had created git repository 10:30 adding files to staging area

  • @anurag01a
    @anurag01a3 жыл бұрын

    git commit -m "Binge-Watched and coded it till the end !! Love you, Tim❤❤" git push -u brain main

  • @caiquecarvalho771
    @caiquecarvalho7713 жыл бұрын

    Now i learned how to use git. Thanks again, Tim! Loves from Brazil

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

    Awesome tutorial. Great teaching. Understood in one go.

  • @abhinavchavali1443
    @abhinavchavali14433 жыл бұрын

    I feel like there is already many of these kinds of videos. Would appreciate a more complex git tutorial with forks, open source contributions, pull requests, and the more complex topics

  • @TechWithTim

    @TechWithTim

    3 жыл бұрын

    Great idea!

  • @barrotem5627

    @barrotem5627

    3 жыл бұрын

    @@TechWithTim Ty tim ! Helpful as always 😃

  • @aryannsarkari1068

    @aryannsarkari1068

    3 жыл бұрын

    I couldn't agree more

  • @Aarron656

    @Aarron656

    3 жыл бұрын

    Agreed

  • @saidneder41

    @saidneder41

    3 жыл бұрын

    agreed!!! thank you tim for your awesome work!

  • @saniks5070
    @saniks50702 жыл бұрын

    Great video. It was clear and straightforward

  • @manoramapatra8091
    @manoramapatra80913 жыл бұрын

    To be honest I think even these sponsors including the whole video everything is very informative here in twt... 🤩🤩

  • @danieloliveira9815
    @danieloliveira98153 жыл бұрын

    Thank you so much for the github part. I was struggling to find a good source on that :)

  • @Amir_Plays_non_stop
    @Amir_Plays_non_stop2 жыл бұрын

    Thanks a lot! You made it so clear.

  • @blacksheep1337
    @blacksheep13373 жыл бұрын

    I would love so much if you make a video showing how to walk through the commits thanks for the content

  • @konradchyrzynski3927
    @konradchyrzynski39273 жыл бұрын

    Useful and valuable tutorial. Thank's!

  • @BrendanMetcalfe
    @BrendanMetcalfe3 жыл бұрын

    Great structure to the video! Thanks

  • @mayankdiwedi6591
    @mayankdiwedi65913 жыл бұрын

    Great work tim. Keep it up. You forgot to mention that if the remote repo is having some extra commit. It won't show up automatically to local untill you do git fetch to the local. Correct me if I'm wrong... :)

  • Жыл бұрын

    I simply love this video!!!

  • @jitendratiwari6886
    @jitendratiwari68863 жыл бұрын

    simple and precise

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

    Thanks man - big help.

  • @jenso413
    @jenso4132 жыл бұрын

    very helpful, thank you!

  • @itstechshow7747
    @itstechshow774711 ай бұрын

    One of my favorite KZreadr❤

  • @swifttechco
    @swifttechco2 жыл бұрын

    Thank you so much.... You’re the best

  • @thaimeuu
    @thaimeuu6 ай бұрын

    Thank you Tim

  • @sparkymarkm322
    @sparkymarkm3223 жыл бұрын

    Good stuff, thanks!

  • @rezaizadi2815
    @rezaizadi28153 жыл бұрын

    do more about github especially in project managment Thank you tim

  • @quianoherminigildojra.4989
    @quianoherminigildojra.49892 жыл бұрын

    nice, it really helps me.

  • @josephwong2832
    @josephwong28323 жыл бұрын

    nice tutorial tim

  • @aadityamunjal7861
    @aadityamunjal78613 жыл бұрын

    Also please make a tutorial on pull requests, forks, and other GitHub open source stuff. I struggled a lot with them earlier.

  • @rakeshchowdhury202

    @rakeshchowdhury202

    3 жыл бұрын

    Agree

  • @alhassanali6910
    @alhassanali69102 жыл бұрын

    Thanks 😊

  • @AvioInsane
    @AvioInsane3 жыл бұрын

    Just this week i deleted a whole webservice by issuing the wrong git commands lol. Thankfully, i could restore it via backup. This will be helpful.

  • @KishoreKumar-qh7pg
    @KishoreKumar-qh7pg3 жыл бұрын

    I literally watched your old video just now 😂

  • @markadyash
    @markadyash3 жыл бұрын

    thanks

  • @arturbabinski7248
    @arturbabinski72482 жыл бұрын

    learned!

  • @videokriitikko5509
    @videokriitikko55093 жыл бұрын

    Awesome

  • @Salah-YT
    @Salah-YT2 жыл бұрын

    thank u so much bro i learn a lot so now I can push up all file so that it will be ok for me now I don't like merge and changing branch hhhh so and I use git bash so much better bro so thanx bro

  • @ThePhantomCoder
    @ThePhantomCoder3 жыл бұрын

    Hey tim! I just wanted to say I think you should try out tabnine I think it's really cool Thanks for this tutorial!

  • @binaprajapati7709

    @binaprajapati7709

    3 жыл бұрын

    Are you advertising it?

  • @ThePhantomCoder

    @ThePhantomCoder

    3 жыл бұрын

    @@binaprajapati7709 no, I'm just your average coder

  • @saidneder41
    @saidneder413 жыл бұрын

    Wow and i just yestarday watched the 40 minutes tutorial, but it doesn't matter, am going to watch it anyway lol

  • @sasha786123
    @sasha7861233 жыл бұрын

    in 15 mins at 2x speed

  • @janakisasidhar7582

    @janakisasidhar7582

    3 жыл бұрын

    @tarun No u

  • @saliherk4n

    @saliherk4n

    3 жыл бұрын

    Math 🦍🦍

  • @vmp916

    @vmp916

    3 жыл бұрын

    Mfers with TI-84’s be like

  • @user-zh8fd3vf5c

    @user-zh8fd3vf5c

    3 жыл бұрын

    now in 2 mins with document.querySelector('video').playbackRate = 16 at browser console

  • @Avighna

    @Avighna

    3 жыл бұрын

    Wow! You're so good at math!

  • @jidetroy5852
    @jidetroy58522 жыл бұрын

    nice.

  • @karaway2117
    @karaway21173 жыл бұрын

    I saw the repo on your account before this video was out lol

  • @lorenabezerradealmeida8512
    @lorenabezerradealmeida85123 жыл бұрын

    When you make a really small change to a file, like correcting a spelling mistake, and you want to upload that to make sure you do not have to do that again in case you loose the local files, do you have to commit before pushing the file? Or as you wouldn't want to create a commit for this slightly change could you just push it to the remote repository?

  • @kristen8325
    @kristen83252 жыл бұрын

    Hey! Just found your channel and I'm loving the Python videos. I've been using scrims in Scrimba to practice python but I want to level up and starting learning git and github more but I'm getting stuck with the git install. (I do have VScode and I have tried the replit but I just perfer scrim for right now) My current set up is '/usr/bin/git' and 'git version 2.24.3 (Apple Git-128)' . I tried to upgrade to version 2.34.1 for mac by downloading homebrew and and then asking it to install git. When I checked the path and version after all this it was still showing me my original set up. I tried doing some research to figure why now I'm more confused and also worried I'll do damage to my computer trying to do whatever sudo or sudu thing in my terminal that I've been seeing. Do you have any advice? Honestly, and I'm slightly embarrassed to admit it, but I need someone to really dumb this process down for me. Like a pre-begginner explanation. thank you!

  • @michmart9261
    @michmart92613 жыл бұрын

    This reminds me of the 5D chess with multiverse and time travel

  • @Doraredora
    @Doraredora3 жыл бұрын

    If any one ask me who is your inspiration to programming then my answer would be definitely TWT Great job tim explain more about github

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

    if you clone some repository from github to local machine and do some changes in it, push it to github. then this changes where it will reflect, that existing repository or will it create another repository in my github account??

  • @rafaelgoncalves6104
    @rafaelgoncalves61043 жыл бұрын

    How do we go back to a previous version of a document?

  • @anasbahi8371
    @anasbahi83713 жыл бұрын

    goooodd

  • @Systemx93
    @Systemx933 жыл бұрын

    Which one is correct? KodeCloud spoke with you and offers to sponsor you. Or its you affiliating just for a commission?

  • @karthikkm3771
    @karthikkm37713 жыл бұрын

    Dude can u do a tkinter version of your Rock paper scissors game...

  • @Drop_The_Mic
    @Drop_The_Mic3 жыл бұрын

    Tim, do i watch this 1st or you older one?

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

    what is difference between this video and previous one?

  • @imlordkrunic2737
    @imlordkrunic27373 жыл бұрын

    That algo expeert ad is killing me 😭

  • @matiurrahaman1163
    @matiurrahaman11633 жыл бұрын

    2nd And well even I have a video on this on my channel 🤭

  • @ARTICFR0ST
    @ARTICFR0ST3 жыл бұрын

    Oops, you dropped your crown sir.

  • @kademmohammed6836
    @kademmohammed68363 жыл бұрын

    Please, please, please, please.... please... Do a tutorial on the : Feature, Hotfix, Dev and mastet branching system. Use a real case project ! Causr this is the kind of thing that you need to work in a company to learn and it is very difficult to learn by your self, thank for everything

  • @va9if
    @va9if3 жыл бұрын

    can anyone explain how is Microsoft's repo is protected from tim's push ?

  • @va9if

    @va9if

    3 жыл бұрын

    push request I guess :/ im kinda new to github, any information would be appreciated

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

    7:12

  • @SanjayKumar-xn2xm
    @SanjayKumar-xn2xm3 жыл бұрын

    bro can you make video on unity

  • @yasern4227
    @yasern42273 жыл бұрын

    Hey Guys, how do I remove files from the staging area? (1. Single file and 2. all the files)

  • @user-bg6mr3rj7d

    @user-bg6mr3rj7d

    2 жыл бұрын

    like, undo the staging of a file and restore the file from an earlier commit?

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

    how to create a branch 16:47

  • @Siddhesh1123
    @Siddhesh11233 жыл бұрын

    Yay I’m early

  • @codeforcoders69
    @codeforcoders693 жыл бұрын

    Anyone here who use Codeddit App

  • @Sciencedoneright
    @Sciencedoneright3 жыл бұрын

    22nd viewer!

  • @lrnzdc7199
    @lrnzdc71992 жыл бұрын

    Branch.

  • @pinghe1791
    @pinghe17913 жыл бұрын

    why do you never introduce how to go back to a previous commits, that's very important

  • @reezzrex4878
    @reezzrex48783 жыл бұрын

    hi

  • @TechWithTim

    @TechWithTim

    3 жыл бұрын

    Hey!

  • @noobwithiqof70
    @noobwithiqof7011 ай бұрын

    seems like anyone can push changes to any git repositories.

  • @ee399
    @ee3993 жыл бұрын

    you forgot the link :/

  • @TechWithTim

    @TechWithTim

    3 жыл бұрын

    Which link?

  • @anirudhnair9719
    @anirudhnair97193 жыл бұрын

    4th comment

  • @zainjadoon759
    @zainjadoon7593 жыл бұрын

    git in 15 minutes for me on 2x speed

  • @musicianintraining
    @musicianintraining3 жыл бұрын

    pin this cuz im so epic haha meme

  • @vinzz5282
    @vinzz52823 жыл бұрын

    Git and windows don't work well together imo

  • @mohamedkaram9149
    @mohamedkaram91492 жыл бұрын

    Fairly long !!! , there is somebody made 9.5 hours

  • @cd73net
    @cd73net3 жыл бұрын

    Don't quite see why you need to make a 2nd git/github video considering your last one is only 9 months old..

  • @TechWithTim

    @TechWithTim

    3 жыл бұрын

    Just wanted to cover some things I felt I skimmed over and didn’t do a good job of 👍

  • @codewithlikhit

    @codewithlikhit

    3 жыл бұрын

    @@TechWithTim can you post a video on bulding websites in react and node