set branch for git code example Example 1: canging branch in git $ git checkout feature Example 2: git change branch $ git branch iss53 $ git checkout iss53