what happens to running code if git branch is switched code example Example: creating a branch in git git checkout -b <branch_name>