Git is a distributed version control system created by Linus Torvalds in 2005. Torvalds created Git to work on the Linux kernel, with focus on speed and data integrity. Torvalds is credited as saying:
Microsoft isn't evil, they just make really crappy operating systems.
Additional facts about Torvalds include:
- He is Finnish-American and a father of three.
- He is the creator and principal developer of the Linux kernel.
- He has apparently acted unprofessionaly in the past. He recently apologized and promised to "get some assistance on how to understand people’s emotions and respond appropriately".
- When working with no version control system at all, Torvolds would accept others' patches and incorporate them into one major update himself. The only way to examine the history of his process was as a giant
<diff>
between two full releases. Git Origin Story
Git, along with GitHub, is used to track changes in files and save intentional snapshots in time. This allows many people to work seemlessly and simultaneously on a project, without overwriting each other's updates.
Large, complex digital businesses use Git and GitHub to manage their code projects:
- Airbnb
- Netflix
- Shopify
- Lyft
The following Git commands are important to understand:
git config --global user.name "Sam Smith"
git config --global user.email [email protected]
git init
git add
git commit -m "Commit message"
git push origin master
git status