Introducing Git

Introducing Git

What is exactly git ?

Git most popular in the word is version control system

What is Version control system ?

VC (Version Control ) is software that tracks and mangages change to files over time .

Description : Version control system generally allow users to revisit earlier (truy cập lại) version the files , compare change between versions , undo changes , and a whole lot more , etc ..

Git is just one VSC

Generally Git is just one of the many version control systems available today . Other well-known ones iclude subversion Subversion,CVS,and Mercurial .

They all have similar goals , but vary significantly in how they achieve those goals . Fortunately , wwe only need to care about Git because ... Git is the clear "winner" (88.4% user choice git to use at 2018 ).Wow , a wesome

What will happen if life without Git ?

What is exactly does git do for us ?

Git helps use..

  • Track changes across multiple files .

  • Compare versions of a project

  • "Time travel " back to old versions

  • Revert to a previous version

  • Collaborate and share changes

  • Combine changes

Big picture

example A nice day , i start my project for company . Step 0 : a add a point initizlize project

Yes , I have finished my project :D . I will report back to my boss. After him watched my project, him angry and say .. The colors in bottom ros so bad 🔥

With such as situation , How to handle that situation ?

No problem ! , With git , i can go back ti prior checpoints(3.1) i made , i will fix colors in bottom rows after i can add a new point (i will call it 3.2) and i switch a end pont (4.1) . I combine a (3.1 with 4.1), perfect !

=> Yes i have finished my project :clown_face:

Wow . That's enough about the advantages of Git. I hope your have interest for git .

Git & History

Maybe you will know about that icon . Yes , it's Linux

What are Linux and Git related to earch other ?

Maybe you don't know :clown_face:

Linus Toralds is a legendary software engineer . He is the creator and main developer of behind Linux and Git

  • In 2005 , While working on linux , he became frustrated with available version systems . The existing tools were slow , closed-source , and usually paid

The birth of Git

Torvalds wanted a version control system that was super fast and free and Unlike the existing tools .

On April 3rd 2005 he got to work on his own VSC . Which would become Git . In a matter of days he had most basic functionality done .

The first official Git relearse a couple months later .

15 years later in 2020 , over 90% of developers worldwide use Git on a daily basis !

That's history's GIT

Some story funny about Git

(This is not important so it can be ignored )

Torvalds referred to git as "The stupid content tracker" While he was woking on it . Eventually he setted on the name Git .

The official Git source code explains a couple different meaning for the name , depending on your mood :

  • A random three letter combination that is pronounceable ( có thể phát âm được) and not acctually used by any UNIX command.

  • "global information tracker". You'are in a good mood , and it acctually works for

GIT =/= GITHUB

GIT is the version of control software that rún locally on your machine. You don't need to register for an account . You don't need the internet to use it . You can use git without ever touching Github .

GITHUB is a service that hosts GIT repositories in the cloud and make it essier to collaborate with other people.You do need to sign up for an account to use Githb . It's an online place to share work that is done using Git .

Last updated