10.2. git checkout# Update the files in the working tree to the specified state. If a branch is provided then HEAD is also updated to point to this branch. Note git checkout -b new-branch will create a new branch named new-branch.