Git · Junior · Question 55 of 75
What does git branch -a list?
- ✓Correct answer: Local branches and remote-tracking branches
- 2Branches of every repository on the machine
- 3Only branches that have been archived
Explanation
Remote-tracking branches appear as remotes/origin/.... Run git fetch --prune to drop ones that were deleted on the server.