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
2
Q
What do you type into the terminal to start/create a git project?
A
git init
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
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