Quiz for:
Git and GitHub for Beginners - Course Notes

Question 1

What does the '.git' folder store?

Question 2

Which command can be used to switch to an existing branch named 'feature'?

Question 3

What is the primary advantage of using a Version Control System (VCS)?

Question 4

What should you do before starting work on an open-source issue?

Question 5

What is the command to view a simplified commit history in Git?

Question 6

What is the purpose of the 'git init' command?

Question 7

How do you add all files in a directory to the staging area in Git?

Question 8

What is the primary function of a pull request in GitHub?

Question 9

Which tool is recommended for terminal use on Mac & Linux according to the notes?

Question 10

Which terminal command checks the current state of a Git repository?

Question 11

What is the purpose of rebasing in Git?

Question 12

Why should you generate SSH keys and add them to your GitHub account?

Question 13

Which command sets the upstream branch for future pushes in Git?

Question 14

What does the 'git branch <branchname>' command do?

Question 15

What should be done to resolve conflicts during a Git merge?