🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← Quiz: Git Basics: all 10 questions

Quiz: Git Basics · Question 7 of 10

You edited app.js but did not run git add. Which area holds the change?

You edited app.js but did not run git add. Which area holds the change?

  1. A.The working directory only
  2. B.The staging area
  3. C.The repository
  4. D.GitHub
Answer & explanation

Correct answer: The working directory only

Changes move to staging with git add and into the repository with git commit.

Can you get the rest right without peeking?

Take the timed Quiz: Git Basics quiz free. Pass it to earn XP and count towards your certificate.

Start the quiz →