culTest

    One of the 100 questions in this topic

    How much do you know about Git and Version Control?

    Which command is used to view remote branches?

    Answers

    git branch -rCorrect
    git remote branch
    git show-remote
    git list-remote

    The git branch -r command shows the remote branches available in the configured remote repositories. These branches are local references to branches on the remote repositories and are updated when running commands such as git fetch.