Introduction to Git
Introduction
First let's make things clear, Git and Github are two completly separate systems. We usually use both together and in this lesson we will talk about what is Git and what is Github. I the next lesson we will connect those two together and in the last lesson of the chapter, we will learn the basics of using Git.
What is Git?
You can think of git as a really awesome save button, but instead of saving files like code editor does (one copy at a time), git tracks diffrences between the files. This allows us to version control our programs, revert back in time when we brake something and have a clean history of how the project evolved. Knowing how to use git is another essential skill to have as a developer.
Git is local only software (program) that enables all of these cool features. It runs completly offline and does not contact any servers by default.
What is Github?
Github is an online platform that enables hosting our git-s to remote servers, collaborate more easily with fellow developers and ultimately be your own porfolio.
Github is under Microsoft domain which some developers don't like, so there are more alternatives like gitlab, bitbucket, etc ... For the purpose of this course we will be using Github.
What's Next
In the next lesson, we are going to set up Git and connect it to Github so those two can talk to each other securely.