clone a branch using git code example Example: clone from a specific branch git clone -b <branchName> <remote_repo_url>