Git vs Github
11/30/2020

What is git and why do we use it?
Git is an application used to store code in a way that all developers can share and edit. Git essentially takes snapshots of the code written and saves to demonstrate the changes made.
The reasons to use git are fairly straightforward after knowing what this application does. Git allows many developers to work on the same code simultaneously therefor increasing a teams efficiency and chemistry. It allows for easy access of all the changes code goes through from start to finish. If a team runs into a problem, the clientele changed their mind, or the use of the code needs to change they can all revert back to an earlier stage of the code. Additionally some projects will have some code overlap in-which case it is most beneficial to have git in order to run the code between parallel within both of these two projects.
What is be the benefit of having multiple branches?
The benefit of having multiple branches is that it allows for diversity and unity in code. It allows the master branch to be a reference that can diverge into separate branches but also allows these diverging branches of code to be merged together as one at a later time. This is helpful as a team can have multiple branches that they each work on that can then form the completed project when put together.
What are the differences between git and github?
Git is a local repository meaning that it tracks the changes made by the personal developer, git is essentially for the single user. Github is a place to host these repositories and make remote repositories giving open access to other developers to see,edit, and collaborate with their code. Git gives the developer the tools and github allows for the documentation and deliberation with other developers.
Example git vs github
Another way to think about it: imagine your phone is constantly and passively recording everything you do in a day. And periodically you upload those recordings to a recording sharing website that hosts it and allows for others to interact with it. In this example the act of recording on the phone passively is git while the posting to a website that saves and hosts it is github.