Introduction to Git Quiz

5 questions Pass: 70% +25 pts (50 with Pro)

Quiz covering Version Control Fundamentals

What you'll be asked

  1. Which command is used to initialize a new Git repository in your current directory?
  2. What is the primary purpose of the 'git add' command?
  3. If you want to see the status of your files (which are staged, unstaged, or untracked), which command should you run?
  4. What is the difference between 'git commit' and 'git push'?
  5. You have modified a file and run 'git add', but then realize you made a mistake and want to remove the file from the staging area without deleting your changes. Which command accomplishes this?

Answers and explanations come after you submit.