how to duplicate git branch code example
Example 1: clone from a specific branch
git clone -b <branchName> <remote_repo_url>
Example 2: creating copy of a branch
git checkout -b new_branch old_branch
git clone -b <branchName> <remote_repo_url>
git checkout -b new_branch old_branch