Difference between Git & Git Hub Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

Git and what does it do ?

A

.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.)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
1
Q

Git

A

.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.)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is Git Hub and what does it do ?

A

.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)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Where does Git store information ?

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Where does git store all its extra information in a directory called?
and where is it located ?

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

what does the command (git status do?)

A

.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–

How well did you know this?
1
Not at all
2
3
4
5
Perfectly