cloning a branch to an existing repo in git code example Example: git clone from specific branch git clone -b branchName repoUrl