how to clone a remote branch code example
Example: duplicate clone remote branch locally git
git checkout -b <new_local_branch_name> <remote>/<remote_branch_name>
// example
git checkout -b my_branch origin/my_branch
git checkout -b <new_local_branch_name> <remote>/<remote_branch_name>
// example
git checkout -b my_branch origin/my_branch