🤓
Thomas lab
Git&Github
Git&Github
  • Fetching & Pulling
  • Git alias
  • Git & Github : What is in .git ?
  • Git Rebase
  • Git reflog
  • Git Stash
  • Git tags
  • Git Workflow(Collaboration)
  • Quick High-Level
  • Git diff
  • Git installer
  • Reset & Revert commit
  • Github Collaborators
  • Github Basics
  • Introducing Git
  • Merging Branch
  • How to use multiple account
Powered by GitBook
On this page
  • Introducing Git
  • What is exactly git ?
  • What is Version control system ?
  • What will happen if life without Git ?
  • Git & History
  • GIT =/= GITHUB

Introducing Git

PreviousGithub BasicsNextMerging Branch

Last updated 8 months ago

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

Step 1 I add a navbar

Step 1.1: I add checkpoint (we'll call it point 1.1 )

Step 2: I add content

Step 2.1 : I add checkpoint (point 2.1)

Step 3 : I add bottom row

Step 3.1 : I add checkpoint (point 3.1)

Step 4 :After, i add `Dark mode theme`

Step 4.1 : I add checkpoint (point 4.1)

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 .

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

🔥