Git Stash -> Git Pop
Working on the wrong branch and you haven't commited anything yet...
git stash
git checkout branch-you-want-to-work-on
git stash pop
For years I've been copying changes over, fortunatley I don't go too long without a commit.
robbandrew.hashnode.dev1 min read