I am new to Git
and need to make a quick adjustment on my branches.
I started an activity in a wrong local branch "X".
I would like to migrate the changes to a local branch "Y" to give commit
from "Y" and undo the changes in X.
How do I create a Y branch from local X before undoing X changes?
I'm using Visual Studio 2017 with the Git extension for VS.