Whether the previous branch was overwritten,
No.
The default branch is disabled , and a new local branch has been created from its HEAD.
You can see all branches with:
git branch -a
Just go back to the branch of your choice with
git checkout -b aBranch --track origin/aBranch
Please note that if you have work, you need to go git stash , as described in To git checkout without overwriting data . "
source share