I'm new to git, I was building a project with couple of branches. I was in branch B with uncomitted changes and then I run this command:
git checkout -b C
to move to new branch, let's call it branch C.
In branch C I uncommit those changes and since then I can't get those changes back, even if I go back to branch B.
I'm not sure if I checkout of a branch it's means that it's saved somewhere.
Is there a way to fix it?