how to switch back to master with master content git code example Example: how to switch branches in git git checkout [branch name]