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