Git Flashcards

1
Q

What is git?

A

Git is a software that allows you to keep track of changes made to a project over time

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

What do you type into the terminal to start/create a git project?

A

git init

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

What are the three parts of a git project?

A

Working directory: This is where all the modifications will happen and organising files

Staging Area: Bring changes into the staging area

Repository: Where git permanently stores changes as different versions of the project

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

If I want to add a file from the working directory to the staging area, how can I do this? What code do I type?

A

git add filename

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