creating copy of a local branch code example Example: creating copy of a branch git checkout -b new_branch old_branch