Git And GitHub in ~30 Minutes

  Рет қаралды 99,751

Tech With Tim

Tech With Tim

3 жыл бұрын

⭐️ 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 KZbin 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

Пікірлер: 119
@TechWithTim
@TechWithTim 3 жыл бұрын
⭐️Join KodeKloud Engineer for free and upgrade your DevOps skills: bit.ly/3uywWm3
@sethtomas8257
@sethtomas8257 2 жыл бұрын
A trick : watch movies at flixzone. Been using it for watching loads of movies these days.
@oscarangelo9776
@oscarangelo9776 2 жыл бұрын
@Seth Tomas definitely, I've been using Flixzone for since november myself :D
@ajmirsk2244
@ajmirsk2244 2 жыл бұрын
Er edrFftff teff get e
@supertenchoo4271
@supertenchoo4271 2 жыл бұрын
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
@kenet7877
@kenet7877 3 жыл бұрын
Tim helping to cultivate future programmers with these simple videos! Love your videos.
@jonathanlo9210
@jonathanlo9210 3 жыл бұрын
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 2 жыл бұрын
how to exclude temp file then
@shail0124
@shail0124 Жыл бұрын
You can just simply specify files and directories to ignore in .gitignore file
@luqmanhamdan9285
@luqmanhamdan9285 3 жыл бұрын
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
@rakeshchowdhury202 3 жыл бұрын
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
@huydang6059 2 жыл бұрын
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
@asadullahaziz
@asadullahaziz 3 жыл бұрын
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
@t0m0b0nes 3 жыл бұрын
great summary of all necessary for commands. thank you! 🙏
@ChrisTietjen_00
@ChrisTietjen_00 2 жыл бұрын
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.
@blazi_0
@blazi_0 3 жыл бұрын
You know what we need 😌 Thank u Tim sooooooo much !!!!!!
@mikecann4438
@mikecann4438 3 жыл бұрын
This was extremely helpful, thank you Tim!
@Toam99
@Toam99 3 ай бұрын
I am 06:55 minutes in and your way of explaining things is really fantastic!! Thank you so much Tim ❤
@blacksheep1337
@blacksheep1337 3 жыл бұрын
I would love so much if you make a video showing how to walk through the commits thanks for the content
@anurag01a
@anurag01a 3 жыл бұрын
git commit -m "Binge-Watched and coded it till the end !! Love you, Tim❤❤" git push -u brain main
@manoramapatra8091
@manoramapatra8091 3 жыл бұрын
To be honest I think even these sponsors including the whole video everything is very informative here in twt... 🤩🤩
@danieloliveira9815
@danieloliveira9815 2 жыл бұрын
Thank you so much for the github part. I was struggling to find a good source on that :)
@felixnyamongo
@felixnyamongo Жыл бұрын
Awesome tutorial. Great teaching. Understood in one go.
@caiquecarvalho771
@caiquecarvalho771 3 жыл бұрын
Now i learned how to use git. Thanks again, Tim! Loves from Brazil
@saniks5070
@saniks5070 2 жыл бұрын
Great video. It was clear and straightforward
@Amir_Plays_non_stop
@Amir_Plays_non_stop 2 жыл бұрын
Thanks a lot! You made it so clear.
@konradchyrzynski3927
@konradchyrzynski3927 3 жыл бұрын
Useful and valuable tutorial. Thank's!
@mayankdiwedi6591
@mayankdiwedi6591 3 жыл бұрын
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... :)
@abhinavchavali1443
@abhinavchavali1443 3 жыл бұрын
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
@Brain42637
@Brain42637 3 жыл бұрын
Agreed
@saidneder41
@saidneder41 3 жыл бұрын
agreed!!! thank you tim for your awesome work!
@MauricioAvellar
@MauricioAvellar Жыл бұрын
I simply love this video!!!
@itstechshow7747
@itstechshow7747 9 ай бұрын
One of my favorite KZbinr❤
@rezaizadi2815
@rezaizadi2815 3 жыл бұрын
do more about github especially in project managment Thank you tim
@jitendratiwari6886
@jitendratiwari6886 3 жыл бұрын
simple and precise
@BrendanMetcalfe
@BrendanMetcalfe 3 жыл бұрын
Great structure to the video! Thanks
@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
@asuras3409
@asuras3409 Жыл бұрын
Thanks man - big help.
@thaimeuu
@thaimeuu 4 ай бұрын
Thank you Tim
@jenso413
@jenso413 2 жыл бұрын
very helpful, thank you!
@josephwong2832
@josephwong2832 3 жыл бұрын
nice tutorial tim
@sparkymarkm322
@sparkymarkm322 3 жыл бұрын
Good stuff, thanks!
@swifttechco
@swifttechco 2 жыл бұрын
Thank you so much.... You’re the best
@quianoherminigildojra.4989
@quianoherminigildojra.4989 2 жыл бұрын
nice, it really helps me.
@aadityamunjal7861
@aadityamunjal7861 3 жыл бұрын
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
@alhassanali6910 2 жыл бұрын
Thanks 😊
@AvioInsane
@AvioInsane 3 жыл бұрын
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-qh7pg 3 жыл бұрын
I literally watched your old video just now 😂
@ThePhantomCoder
@ThePhantomCoder 3 жыл бұрын
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
@arturbabinski7248
@arturbabinski7248 2 жыл бұрын
learned!
@markadyash
@markadyash 3 жыл бұрын
thanks
@kristen8325
@kristen8325 2 жыл бұрын
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!
@saidneder41
@saidneder41 3 жыл бұрын
Wow and i just yestarday watched the 40 minutes tutorial, but it doesn't matter, am going to watch it anyway lol
@Doraredora
@Doraredora 3 жыл бұрын
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
@lorenabezerradealmeida8512
@lorenabezerradealmeida8512 3 жыл бұрын
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?
@Salah-YT
@Salah-YT 2 жыл бұрын
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
@videokriitikko5509
@videokriitikko5509 3 жыл бұрын
Awesome
@karaway2117
@karaway2117 3 жыл бұрын
I saw the repo on your account before this video was out lol
@jidetroy5852
@jidetroy5852 2 жыл бұрын
nice.
@michmart9261
@michmart9261 3 жыл бұрын
This reminds me of the 5D chess with multiverse and time travel
@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??
@Systemx93
@Systemx93 3 жыл бұрын
Which one is correct? KodeCloud spoke with you and offers to sponsor you. Or its you affiliating just for a commission?
@anasbahi8371
@anasbahi8371 3 жыл бұрын
goooodd
@Drop_The_Mic
@Drop_The_Mic 3 жыл бұрын
Tim, do i watch this 1st or you older one?
@kademmohammed6836
@kademmohammed6836 3 жыл бұрын
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
@matiurrahaman1163
@matiurrahaman1163 3 жыл бұрын
2nd And well even I have a video on this on my channel 🤭
@ARTICFR0ST
@ARTICFR0ST 2 жыл бұрын
Oops, you dropped your crown sir.
@shail0124
@shail0124 Жыл бұрын
what is difference between this video and previous one?
@rafaelgoncalves6104
@rafaelgoncalves6104 3 жыл бұрын
How do we go back to a previous version of a document?
@sasha786123
@sasha786123 3 жыл бұрын
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
@iqprogm
@iqprogm 3 жыл бұрын
@@user-zh8fd3vf5c good idea on android Thanks
@karthikkm3771
@karthikkm3771 3 жыл бұрын
Dude can u do a tkinter version of your Rock paper scissors game...
@imlordkrunic2737
@imlordkrunic2737 2 жыл бұрын
That algo expeert ad is killing me 😭
@Siddhesh1123
@Siddhesh1123 3 жыл бұрын
Yay I’m early
@SanjayKumar-xn2xm
@SanjayKumar-xn2xm 3 жыл бұрын
bro can you make video on unity
@va9if
@va9if 3 жыл бұрын
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
@Sciencedoneright
@Sciencedoneright 3 жыл бұрын
22nd viewer!
@devbrah
@devbrah Жыл бұрын
7:12
@yasern4227
@yasern4227 3 жыл бұрын
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
@codingforcoder8995
@codingforcoder8995 3 жыл бұрын
Anyone here who use Codeddit App
@noobwithiqof70
@noobwithiqof70 9 ай бұрын
seems like anyone can push changes to any git repositories.
@anirudhnair9719
@anirudhnair9719 3 жыл бұрын
4th comment
@pinghe1791
@pinghe1791 2 жыл бұрын
why do you never introduce how to go back to a previous commits, that's very important
@lrnzdc7199
@lrnzdc7199 2 жыл бұрын
Branch.
@reezzrex4878
@reezzrex4878 3 жыл бұрын
hi
@TechWithTim
@TechWithTim 3 жыл бұрын
Hey!
@zainjadoon759
@zainjadoon759 3 жыл бұрын
git in 15 minutes for me on 2x speed
@ee399
@ee399 3 жыл бұрын
you forgot the link :/
@TechWithTim
@TechWithTim 3 жыл бұрын
Which link?
@musicianintraining
@musicianintraining 3 жыл бұрын
pin this cuz im so epic haha meme
@vinzz5282
@vinzz5282 3 жыл бұрын
Git and windows don't work well together imo
@cd73net
@cd73net 3 жыл бұрын
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
@mohamedkaram9149
@mohamedkaram9149 2 жыл бұрын
Fairly long !!! , there is somebody made 9.5 hours
Git For Beginners 2023
2:00:37
Telusko
Рет қаралды 171 М.
The Self Taught Developer Checklist
17:38
Tech With Tim
Рет қаралды 121 М.
McDonald’s MCNUGGET PURSE?! #shorts
00:11
Lauren Godwin
Рет қаралды 32 МЛН
Nonomen funny video😂😂😂 #magic
00:27
Nonomen ノノメン
Рет қаралды 16 МЛН
CAN FOXY TRICK HIM?! 🤣 #shorts *FOXY AND NUGGET!*
00:17
LankyBox
Рет қаралды 18 МЛН
Git Tutorial For Dummies
19:25
Nick White
Рет қаралды 963 М.
GitHub Actions (Branch Protection, Automated Testing) - Full Tutorial
29:56
How To Actually Make $10k A Month Coding
14:54
Tech With Tim
Рет қаралды 47 М.
Git, GitHub, & GitHub Desktop for beginners
22:16
Coder Coder
Рет қаралды 686 М.
Has Generative AI Already Peaked? - Computerphile
12:48
Computerphile
Рет қаралды 143 М.
How GIT works under the HOOD?
16:01
Tech With Nikola
Рет қаралды 182 М.
كورس تعلم Git & GitHub في ساعة
1:07:24
غريب الشيخ || Ghareeb Elshaikh
Рет қаралды 240 М.
Complete GIT in 1 video
3:43:17
Hitesh Choudhary
Рет қаралды 44 М.
Learn HTML5 and CSS3 For Beginners - Crash Course
3:54:03
developedbyed
Рет қаралды 2,5 МЛН
McDonald’s MCNUGGET PURSE?! #shorts
00:11
Lauren Godwin
Рет қаралды 32 МЛН