culTest

    One of the 100 questions in this topic

    How much do you know about Git and Version Control?

    Which command is used to switch between branches?

    Answers

    git switch
    git checkoutCorrect
    git change
    git move

    The git checkout command followed by the branch name is used to switch between branches. In newer versions of Git, you can also use git switch as a more intuitive alternative designed specifically for switching branches.