how to checkout to other branch of changes in git branch code example
Example 1: how to checkout to another branch in git
git checkout branch name
Example 2: how to checkout to another branch in git
git branch -D branch name
git checkout branch name
git branch -D branch name