git switch to freature branch code example Example 1: git change branch git checkout <> Example 2: how to switch branches in git git checkout [branch name]