Git Tutorial for Beginners: Command-Line Fundamentals

preview_player
Показать описание
Git is the most popular version control system out there and for good reason. In this video, we'll go over the basics of what git is and how to use it within the command-line. There are several GUI tools out there to help you get started with git, but it can be extremely beneficial to learn git from the command-line as early as possible.

Some of the images used in this video are from the "Pro Git" book. These are licensed under creative-commons. You can find the book at:

✅ Support My Channel Through Patreon:

✅ Become a Channel Member:

✅ One-Time Contribution Through PayPal:

✅ Cryptocurrency Donations:
Bitcoin Wallet - 3MPH8oY2EAgbLVy7RBMinwcBntggi7qeG3
Ethereum Wallet - 0x151649418616068fB46C3598083817101d3bCD33
Litecoin Wallet - MPvEBY5fxGkmPQgocfJbxP6EmTo5UUXMot

✅ Corey's Public Amazon Wishlist

✅ Equipment I Use and Books I Recommend:

▶️ You Can Find Me On:

#Git
Рекомендации по теме
Комментарии
Автор

I would strongly advise to watch the whole video because it's a great source of information, but for those reviewing the content or looking for a specific concept, here's an overview:
0:00 - Introduction
1:31 - Distributed vs Central Version Control
3:17 - Installing Git
3:39 - First Time Setup
6:36 - Getting Started (Local repository)
10:41 - Git File Control
14:55 - Getting Started (Remote repository)
20:37 - Branching
27:38 - Faster Example
29:41 - Conclusion

Wiikend
Автор

I watched this on May 12, 2020, and it's still the best video to learn how Git works.

loganinn
Автор

With " learn X in Y minutes" kind of tutorials getting millions of views these days, its great to see this no-nonsense, content-first channel. Good job! Keep it up!

abhijeetbodas
Автор

This was probably one of the most perfect tutorials of any technical subject that I have ever seen. So many tutorials make assumptions that they don't realise they are making and they skip things. This was perfect.

theemartinimike
Автор

Went into this a complete noob and came out 99% noob. Excellent video!!

Shubamakabra
Автор

Best tutorial I've seen so far and I've been poking around for them for days now. Thank you Corey.

mjc
Автор

For beginners, this is the best git tutorial you’ll find in YouTube. Period.

idaho
Автор

I have to say, your videos are so useful and you have such a good way of explaining and teaching different concepts, subjects and how to's. I have watched and used quite a few of your videos, and found them so helpful and educational. This channel is such a great resource for anyone trying learn more about any of the subjects you have videos about. Thank you for being such an educator and lifesaver!

xyla
Автор

I know it's been several years since these Git videos came out but I wanted to thank you for them, as they have made a big impact on my comfort level with Git for day-to-day development work in my team. I'm not afraid of Git anymore and I can use it with confidence. Great examples and your clear speaking voice made the material accessible for me. Thanks a bunch, Corey!!

swingymcswing
Автор

Been viewing a lot of Git Tutorials lately, but this one is the best by far! Highly recommend for complete beginners!

raghuvarapadma
Автор

3+ years later this video is still super helpful. Thank you very much!

peterpetertorres
Автор

Best I have seen so far about git. Short and clean samples. Simultaneously I followed your steps and did on my own, and that is what I recommend to understand how that works. Don't only watch, instead watch and try on your own. Thank you Corey!

moloko
Автор

It has become a habit of mine to watch Corey's video in free time instead of Netflix.

suyashgupta
Автор

Thanks again Corey! This video was very helpful! There was a lot of information thrown out in this video. I was feeling overwhelmed at first, but after taking a break and giving my mind time to rest and absorb what I saw, I rewatched the video again and this time everything clicked! So for the viewers that watch this video, I would recommend watch it once, then take a break and rewatch it until it sinks in. This is a very valuable and powerful lesson.

joshkindhart
Автор

This video completely saved me for the git section of my class. You are the man Corey. Keep em coming.

donovanjames
Автор

No one before had explained me in a so clear and straightforward way what git is and how it works. Many thanks Corey, you're a great teacher. Your videos on Python have also been very useful for me, and I just hope you add some C++ tutorials too :) Thanks again!

soheilsoltani
Автор

So I've taken some notes for the last "fast example" of the video (the one that concludes all the commands). So, here is the workflow you will repeat forever from now on:

git config --global user.name
git config --global user.email
git clone <url> <where_to_clone>
git branch my_new_branch
git checkout my_new_branch
(make changes to the code)
git status
git commit -m "Add @function in file7"
git push -u origin my_new_branch
(wait for unit tests to complete)
(if all unit tests pass, then do these)
git checkout master
git pull origin master
git merge my_new_branch
git push origin master
(now time to delete my_new_branch)
git branch -d my_new_branch
git branch -a
git push origin --delete my_new_branch

alexradu
Автор

Among the other YouTube videos in coding (series tutorials in particular), I found your content more engaging yet straight to the point. Your voice is also soothing and easy to follow; Like when I was watching your Python tutorials, I can anticipate what you "will do" next and then makes me feel like I actually "get it". That is a form of talent - the kind of empathy a great teacher has!

ilustrado
Автор

4 years later and this is still the best youtube video on the topic. Thank you

hamzahahmad
Автор

Such a nice and comprehensible tutorial. I've struggled quite a lot to understand how to use git. Thank you so much for your effort, Corey! :)

MinhNguyen-dylo