Git · Junior · Question 55 of 75

What does git branch -a list?

Explanation

Remote-tracking branches appear as remotes/origin/.... Run git fetch --prune to drop ones that were deleted on the server.

Further reading

Problem with a question

Git · Junior · question 55

Test yourself

Take the Git · Junior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz