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 to a different branch?

    Answers

    git checkout <branch_name>Correct
    git switch <branch_name>
    git change <branch_name>
    git move <branch_name>

    The git checkout <branch_name> command is used to switch between different branches.