🎙 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 1 of 10

Which command moves changes into the staging area?

Which command moves changes into the staging area?

  1. A.git commit
  2. B.git add
  3. C.git push
  4. D.git init
Answer & explanation

Correct answer: git add

git add stages changes; git commit saves the staged snapshot.

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 →