github navigate to branch code example Example: how to switch branches git git checkout <existing branch>