# Go to latest commit of a branch git checkout branchname # You can also do to switch back to wherever it was before the last checkout. git checkout -