#0 Git Tutorial | What is Git? | Github
![*](https://i0.wp.com/allprowebdesigns.com/wp-content/uploads/2023/12/1703195509_maxresdefault.jpg?resize=840%2C430&ssl=1)
Video Title: #0 Git Tutorial | What is Git? | Github
So what is get now if you’re new to programming or if you joined a company recently you might have heard about this term called as git and in fact from last three to four years everyone is talking about this kit what exactly it is and
Why people is using it and how can we use it so I will try to answer all those questions in this particular video so welcome back aliens my name is Naveen Reddy and let’s get started now git is created by Lena Star World you guessed it right he’s the same guy who has
Created Linux kernel now why he created another another technology called as get so what happens you know when you talk about Linux kernel it’s open source right and anyone can contribute so if you are living in anywhere in the world you can contribute to the Linux kernel
Now what you can do you can you can download the copy of enough kernel you can add your own features and you can submit it there again they will not accept your request by default but you have to provide some new features the important thing is you can be a
Contributor to Linux kernel okay so in this world we have millions of programmers right if everyone is trying to work on one software how they can manage it is it that easy to manage no it’s damn difficult trust me even if you have five people working in a
Project it will be difficult for you to manage that project so what he came up with a concept called as get action in Git it handles all those things of merging of different I mean merging of different source code from different people and maintaining versions so those those things are
Provided by get so let’s try to understand how git works and what is get now git is actually a distributed Version Control System heavy words right so just try to understand those words here now what happens is we have a concept of SCM now it’s not only for get the concept is
There from a long time now I’m not talking about Supply Chain management here now SCM has lots of full form now this the the full form which we have to see here is called as software configuration management or you can also use one more full form there which is
Called as source code management now what happens you know let’s let’s try to understand this let’s say if you’re working on a project right so if you are alone working on a project now at this point you will write some code right and of course when you get a requirement
From someone you don’t get the exact requirement what you get is the what you say a high level requirements what you will do is you will try to make a product a small product which is also called as a minimum valuable product which is MVP now you will make a product
Which is not which will not have all the features and then you thought okay this is working you got your first what do you say the first working software after some type you after some days you felt okay let’s have some more features now what you’re doing you are changing the
Same project and you’re adding your features now okay now after adding new features you realize you know these new features are not working properly now what you will do you have to remove all the features right or maybe your you when you when you show the show this
Product to your client your client says okay with this new features are not that good for us so what you thought okay let’s remove the let’s remove all those features so from the first product you have added some new features and now you have removed the pro removed the
Features now that’s after some time your client says hey you know those features which you have showed on that day that actually is awesome now we want those features as well now what you will do you will again write the same code right but luckily if you have a backup
Normally we use Dropbox for the backup right so what you will do you will go to Dropbox it will copy that code and you will pitch it again but don’t you think you are doing lots of work and that too let’s say you are done with
That after some days you have added some more features you have removed some features and after doing all those things you realize you know the last version was better so what we normally do is to maintain all this version system we have a concept of Version Control example so
Let’s say when you released your first product that will be a snapshot version after some time you thought okay this is the final version which you’re going for so that will be 1.0 then after some time you will be saying 1.1 1.2 1.3 and let’s say now you’re working on 2.0
Now what if you want the older project which is 1.2 is it possible so what we normally do is on Dropbox or maybe in your hard drive we will create multiple folders right which will have the backup of your project so you will name this folder like this you will be having 1.1
1.2 1.3 then 2.0 just imagine if you’re if you’re uh you have to handle all these projects and you have to remember which project has which features right you have to create a file there maybe readme file or text file where you will write everything so why you have to manage all those
Things you have a powerful tool here or a system which will do it for you and that is your Version Control Systems okay now we can use any Version Control System right we can use uh we can use subversion we can use git then while we’re using git when you have subversion
Uh it’s because earlier people used to work with centralized version systems and now we use distributed version systems okay what it means so if you talk about centralized one you will be having multiple computers or maybe you will be having one computer and you will be having one server so all your
Versions will be stored on This Server so this is your machine you know your poor machine and this is a server so what you will do every time you write a code here and if you add new features the previous version will be stored on on This Server
Right this is centralized system now what’s the drawback of this so drawback is you have a working copy that is perfectly fine but the version are maintained here right what if this server uh what if the server fails what if you lose all your data from the
Server it may happen right we are living in a world of hackers and if anything is possible uh what if you are traveling somewhere and you don’t have a internet connection maybe you are on a flight or maybe you are somewhere in a remote place where you don’t have an internet
Connection how can you get this uh how can you get the repository oh that’s a new term right a repository is a place where you will have all your codes or you can imagine a folder on server right so if there is no network connection there will be an issue and there’s a
Single point of failure if you if this server fails you will lose everything so what if if you have multiple machines normally what happens is if you’re working for a company every computer every project data will be stored on one server what if everyone can have their own copy
Right so we can create a copy of itself so we can have our copy so we’ll be having a working copy and we will be having something called as a local repository so this is your local repository all the server will be having a remote repository now the advantage
You have is even if your server fails that’s fine you have a local copy right and you can mirror your local copy to the server next time if your server fails now this time what we are doing is every machine or every developer has their own
Copy so this is called as distributed so we are Distributing the repositories so every machine will have their own local Repository now even if you’re in flight or maybe if you’re in some remote place if you don’t have an internal connection that’s fine you can work on your project and you can
Create different versions in your local repository and whenever you get the internet connection just push it on the server that will be awesome right and that is your distributed version control system so initially people used to work with centralized and now okay now does does that mean we should only use
Distributed we should not use centralized see both have their budgets and D message let’s not talk about that here but if you talk about get git is actually a distributed Version Control System okay so the first one distributed which means everyone will have their own copy which will have which will have a
Local repository and Version Control means git will do the Version Control for you okay uh is get that super git is like a Superman who will do everything for you uh not exactly because you have to as a programmer you have to control that okay git will help you to do that
But you have to mention you have to use some commands like commit or push so while doing that it will maintain those versions okay so that’s how git works but then uh what extra features it provides now there’s also a concept called as trunk based development I don’t know if
You have heard about this before but we have a concept of trunk based development what it means let’s say if you are working on a project or maybe if I am working on a project maybe an Android project and that project is built uh so it is it is it is and
Development from a long time and the current version which we are working is let’s say 4.7 and 4.7 is a stable version everything is perfect or not everything is perfect in this world we have we don’t have any software which is bug free right so there will be some or
Other bugs available in my system in my software that that version is 4.7 and now we are working in a very new feature and that feature when it is added to the project it will be 5.0 right that’s a major version now if you are working on 5.0 and let’s
Say if some some of the users say hey there’s a bug in your in your current version which is 4.7 now what you will do will you work on five I mean you’re working on 5.0 right you don’t have an old project now can you work on two projects
Simultaneously and it’s possible what we do is if you are working on git let’s say if you have a project here if you are working on get and let’s say if you are doing some work by default you will be having something called as branch and
That Branch will be called as a master Branch okay so let’s say this is your 4.7 version and you’re working here after some changes you have done the commit that means you are pushing your data to the look to the repository maybe local us or remote after some changes
Again you are doing commit after some changes you are doing some commit now it is commit commit simply means save again we’ll talk about comment in detail later there’s a difference between commit and save but just imagine uh we have we are committing it now if you’re coming from
SQL background you know what is copied right so yeah so we are we are saying a commit here but let’s say this is your 4.7 version and now if you are working on 5.0 if you are working on 5.0 on the same Branch what will happen is you lose the original project
Okay so the best one would be don’t work on the same Branch if you are working on 5.0 what you can do is you can just create another branch that is possible you can create another branch which will which will name it as let’s say a new
Branch okay so it’s a new branch and on this Branch you can have your 5.0 So you you’re coding for 5.0 and after some time if you feel everything is perfect and by the time you’re working on 5.0 you can still continue work work with
4.7 now this is your master this is the actual one this is your new branch and the moment you feed you know 5.0 is perfectly working what you can do is you can push or you can send you can merge your you can merge your changes from
This Branch to the master branch and it’s very easily possible right so that’s how you work with this system so we have uh we have a concept of trunk based development right we are creating branches to make it work uh now what else so this is your trunk based development
But in question arise how will you implement all these things uh we can create up a local copy right so we can download git for free uh it is free first of all it is free and open source uh you can download the get from the internet if you are using Mac uh
Congrats you already have git there but if you’re using Linux you can install get as you as we normally install other softwares we’re using package manager or if you’re using Windows we have git bash again I will show you the steps in the in the coming videos
But then question other is how will you get the remote version can I create my own remote repository that is possible right you can buy a server you can add your git service there but do we have to really buy those Services we don’t have to actually we have two different webs
In fact we have multiple implementations one of them is GitHub or we can use bitbucket we also have some GUI tools to work with them like we have Source tree we have we have different softwares again we’ll talk about that once we start with the series so I’ll be using GitHub for the
Implementation here but you can also try your luck on get a bit bucket right so there are different softwares available okay so what else so this is the basics of git and we’ll talk about the lots of features in the coming videos so I hope you enjoyed this session or more videos
Are on the way thank you so much for watching and do subscribe
-
Sale!
Wireless WIFI Repeater Extender Amplifier Booster 300Mbps
$29.99$14.99 Add to cartWireless WIFI Repeater Extender Amplifier Booster 300Mbps
Categories: Electronics, Wi-Fi Router, Wireless Wi-Fi Extender Tags: 300Mbps, 802.11N, Amplifier, Booster, Extender, mobile wi-fi booster, Remote, WIFI, Wireless, Wireless WIFI, Wireless WIFI Repeater, Wireless WIFI Repeater Extender, Wireless WIFI Repeater Extender Amplifier, Wireless WIFI Repeater Extender Amplifier Booster, Wireless WIFI Repeater Extender Amplifier Booster 300Mbps$29.99$14.99 -
Sale!
Full RGB Light Design Gaming Headset Headphones with Mic
$24.99$14.99 Add to cartFull RGB Light Design Gaming Headset Headphones with Mic
Categories: Electronics, Gaming, Gaming Headsets Tags: Design, Full, Full RGB Light Design Gaming Headset, Full RGB Light Design Gaming Headset Headphones, Full RGB Light Design Gaming Headset Headphones with Mic, Gamer, Gaming, Gaming Headset Headphones, gaming headset wireless, Headphone, Headphones, Headset, Light, Mic, Package, RGB$24.99$14.99 -
Sale!
Wireless BlueTooth Multi-Device Keyboard Mouse Combo
$39.99$19.99 Add to cartWireless BlueTooth Multi-Device Keyboard Mouse Combo
Categories: Electronics, Gaming, Gaming Keyboards, Keyboard Mouse Combos Tags: Combo, Keyboard, keyboard mouse combos, Mouse, MultiDevice, Set, WireKeyboard Mouse Combo, Wireless, Wireless BlueTooth Keyboard Mouse Combo, Wireless BlueTooth Keyboard Mouse Combos, Wireless BlueTooth Multi-Device Keyboard Mouse Combo, Wireless BlueTooth Multi-Device Keyboard Mouse Combos$39.99$19.99 -
Sale!
High Back Leather Executive Adjustable Swivel Gaming Chair with Headrest and Lumbar
$199.99$139.99 Add to cartHigh Back Leather Executive Adjustable Swivel Gaming Chair with Headrest and Lumbar
Categories: Gaming, Gaming Chairs Tags: Adjustable, Chair, computer chairs, Desk, Executive, Gaming, Girl, Headrest, High, High Back Leather Executive Adjustable Swivel Gaming Chair, High Back Leather Executive Adjustable Swivel Gaming Chair with Headrest, High Back Leather Executive Adjustable Swivel Gaming Chair with Headrest and Lumbar, High Back Leather Executive Adjustable Swivel Gaming Chairs, Leather, Lumbar, Office, Racing, Swivel$199.99$139.99 -
Sale!
Professional LED Light Wired Gaming Headphones with Noise Cancelling Microphone
$29.99$19.99 Select optionsProfessional LED Light Wired Gaming Headphones with Noise Cancelling Microphone
SKU: N/A Categories: Electronics, Gaming, Gaming Headsets Tags: Cancelling, Gaming, Gaming Headphones with Noise Cancelling Microphone, gaming headset, Headphones, Headset, LED, Light, Mic, Microphone, Noise, Professional, Professional LED Light Wired Gaming Headphones, Professional LED Light Wired Gaming Headphones with Noise Cancelling Microphone, Wired, Wired Gaming Headphones, Wired Gaming Headphones with Noise Cancelling Microphone$29.99$19.99 -
Sale!
Gaming Desk with LED Lights USB Power Outlets and Charging Ports
$349.99$249.99 Select optionsGaming Desk with LED Lights USB Power Outlets and Charging Ports
SKU: N/A Categories: Computer Desk, Gaming, Gaming Desk Tags: and Charging Ports, Charging, Desk, Desks, Gaming, gaming desk with led lights, Gaming Desks with LED Lights, Home, LED, Lights, Monitor, Office, Outlets, Port, Power, Room, Stand, USB, USB Power Outlets, White, Workstation$349.99$249.99 -
Sale!
Wired Mixed Backlit Anti-Ghosting Gaming Keyboard
$99.99$79.99 Add to cartWired Mixed Backlit Anti-Ghosting Gaming Keyboard
Categories: Electronics, Gaming, Gaming Keyboards Tags: Antighosting, Backlit, Blue, brown, Gaming, Gaming Keyboard, gaming keyboards, gaming keyboards and mouse, Keyboard, Laptop, Switch, Wired, Wired Mixed Backlit Anti-Ghosting Gaming Keyboard, Wired Mixed Backlit Anti-Ghosting Gaming Keyboards, Wired Mixed Backlit Gaming Keyboard$99.99$79.99 -
Sale!
Wireless Bluetooth 5.3 ANC Noise Cancellation Hi-Res Over the Ear Headphones Headset
$119.99$59.99 Add to cartWireless Bluetooth 5.3 ANC Noise Cancellation Hi-Res Over the Ear Headphones Headset
Categories: Electronics, Gaming, Gaming Headsets Tags: 5.3 ANC Noise Cancellation Hi-Res Over the Ear Headphones Headset, ANC, Audio, Bluetooth, Cancellation, Ear, Earphone, gaming headset, Headphones, Headset, Hi-Res Over the Ear Headphones Headset, HiRes, Noise, Wireless, Wireless Bluetooth 5.3 ANC Noise Cancellation Hi-Res Headphones, Wireless Bluetooth 5.3 ANC Noise Cancellation Hi-Res Over the Ear Headphones Headset, Wireless Bluetooth 5.3 ANC Noise Cancellation Hi-Res Over the Ear Headphones Headsets$119.99$59.99 -
Sale!
Wired Sports Gaming Headset Earbuds with Microphone
$19.99$9.99 Select optionsWired Sports Gaming Headset Earbuds with Microphone
SKU: N/A Categories: Gaming, Gaming Headsets Tags: Accessories, Earbud, Earphone, Earphones, Gaming, gaming headset with microphone, Headphones, Headset, IOS, Microphone, Sports, Wired, Wired Sports Gaming Headset Earbuds, Wired Sports Gaming Headset Earbuds with Microphone, Wired Sports Headset Earbuds$19.99$9.99 -
Sale!
150W Universal Multi USB Fast Charger 16 Port MAX Charging Station
$49.99$29.99 Add to cart150W Universal Multi USB Fast Charger 16 Port MAX Charging Station
Categories: Charging Stations, Electronics Tags: 150W, 150W Charging Station, 150W Universal Multi USB Charging Station, 150W Universal Multi USB Fast Charger 16 Port MAX Charging Station, 150W Universal Multi USB Fast Charger 16 Port MAX Charging Stations, 150W Universal Multi USB MAX Charging Station, 16 Port MAX Charging Station, 3.5A, Charger, Charging, Fast, laptop charging stations, Max, Multi, Port, Stand, Station, Universal, USB$49.99$29.99
Thank you brother
Dude, you are a beast. I'm a fan! Thanks for sharing your work.
Very easy to understand even for a beginner. Thanks.
You explain things very easy and in a fun way…. Your teaching is awesome.🙏🙏🙏🙏
Thank you
Best Teacher in the Universe ❤❤
Hi Telusko, I have a question? JavaScript out of all the other languages is the most confusing. I know Java Is considered an Objected Oriented mid-level language, Haskell is considered to be purely functional language. I know JavaScript is a highly scripting language that is prototypical. But when I ask developers is javaScript primarily a functional language or object oriented? This is where it gets confusing. Can it be said that JavaScript primarily a functional language, similar to Haskell? I googled prototypical languages and I got a very broad answer which wasn't clear to me.
Very Well explained. Thank you Alien.😍
You explain very well,I am non technical person but I can understand how you explain. Hats off to you
All the tuts are very amazing.. well explained.. so easy to understand the concepts .. thanks a lot sir 🤗
Please dont say number 1 again!
How can we translate this video to English??
Basic Git principle well explained! Helpful video for beginners.
So what is GIT?
#Telusko
I thought hee is bhide bhaii 😂😂😂😂
Really a great delivery of knowledge 🤝
What is cmake
You're doing really great job. Keep it up👍👌
Absolutely fabulous intro on git.Thank you sir
this is alsome, keep up sir
just brilliant teaching
very good explanation about Git!
Thank you sir.
I like your word "Poor Machine"
Super well explained, thanks, that really helps.
You are an incredible instructor. Thank you so much
Thank You for the video its gives me more interest to dive into more on Git 🙂
excellent explanation
Great video SirG, just found your channel and so impressed that I am not gonna leave it now … !👍👍👍
It's crystal clear thank you so much sir,can please do the video on insomnia
He has the best methodologies of impacting knowledge to pple. I have learnt what SCRUM is fully via his videos. Indeed, the best!!
Awesome 👍👍👍
great naveen sir