I am working in visual-studio-code and using git. I am a solo programmer in the system I develop. I make all my work in a single git branch and use git just for code safe purposes (actually it was a management demand to use it).
I started some programming task, changed several files, and got a more urgent task, then another task and so on. Now it is almost clear that most probably I will not return back to the started and unfinished task.
So several files stuck changed and not committed in my editor. I think, maybe I could commit those changes to some another (new) git branch, and remove them from my working branch? What is the right way to make this?