git change branch local code example Example 1: git change branch git checkout <<branchName>> Example 2: change branch git git checkout <branch_name>