Documentation is incorrect and incomplete.
"Go to the master branch to pull the latest changes from there"
git checkout master
That command definitely does not go to the master branch. Maybe it tries to pull form the master branch but it doesn't go there and the docs say it does because they are poorly written.
Returns error: error: pathspec 'master' did not match any file(s) known to git.