how to switch back to master branch in git code example Example: how to switch to a master which is already added git checkout master