Branching Rename & cloning

How can I rename specific branch?
How can I clone specific branch from remote server?

I always google.
I know the answers to your questions; nevertheless, I googled them.

ANSWER: $ git branch -m new-branch-name

ANSWER: $ git clone -b desired-branch git@github.com:user/myproject.git

1 Like