Git reset branch. Git checkout. git checkout branch. git checkout commit. git checkout что делает.