Difference between Git & Git Hub Flashcards
Git and what does it do ?
.Is a version control software
.Typically is used as a command line tool and it runs locally on your machine
.Tracks code and versions history
.Allows you to work on different versions/branches of a code
.Help to synchronise different version of the same code base (local base, remote code base etc.)
Git
.Is a version control software
.Typically is used as a command line tool and run
locally on your machine
.Tracks code and versions history
.Allows you to work on different versions/branches of a code
.Help to synchronise different version of the same code base (local base, remote code base etc.)
What is Git Hub and what does it do ?
.it is a web application that host remote Git
repositories.
.Owned by Microsoft.
.It is deeply intergrated with Git
.Provides extra functionality on top of Git, on a nice
UI to use.
.Mainly used used to log teams of 2 or more people (reasons is when there is a remote repository anyone can access this any where in the world)
Where does Git store information ?
Each of your git projects has two parts
1: The files and the directories that you create and edit directly, and the extra information that Git records about the projects History.
The combination of these two things is called a
REPOSITORY.
Where does git store all its extra information in a directory called?
and where is it located ?
it stores its extra information in a directory called
.git
and its located in the root directory of the repository.
NOTE
Git expects this information to be laid at a very
precise way, so you should never edit or delete
anything in .git
what does the command (git status do?)
.This command is frequently used to check the status of a repository
–which will display a list of the files that have been modified since the last time changes were saved–