culTest

    One of the 25 questions in this topic

    How much do you know about Git & GitHub: Branches and Collaboration?

    Which command is used to rename the current branch?

    Answers

    git branch -m <new-name>Correct
    git rename <name>
    git branch -r <name>
    git set-name <name>

    m stands for move, rename.