From here, http://cheat.errtheblog.com/s/git, I think I can recreate a branch in my local repository by
$ git branch mytestbranch
<then I can may changes as my experimental>
My question is how can
- I forget all the changes I made in the 'mytestbranch' branch? and switch back to my original 's stage/version of my repository?
- I keep the changes I made and move every thing to my 'main' branch?
Thank you.