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

Quiz: Branching and Merging · Question 6 of 10

Which command lists your local branches and marks the current one?

Which command lists your local branches and marks the current one?

  1. A.git branch
  2. B.git log
  3. C.git status --all
  4. D.git remote -v
Answer & explanation

Correct answer: git branch

The current branch is marked with an asterisk.

Can you get the rest right without peeking?

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

Start the quiz →