Я работаю по прямой:
A---B---C---D---E---F (master:HEAD)
Теперь я хочу двигаться назад:
git checkout C
и переместить несколько последних коммитов в новую ветку:
Вариант 1:
D---E---F (new:HEAD)
/
A---B---C (master)
Вариант 2:
F (new:HEAD)
/
A---B---C (master)
Как переустановить вариант 1 и вариант 2?