crear rama git checkout

C++
$ git reset --head ORIG_HEAD
Source

Also in C++: