I know git badly (very badly), so sorry for the dumb question.
Now I’m on the master branch as amended. I understand that I will not be able to fix this problem right now, so I want to transfer them to another branch, which I will now create and hide from prying eyes.
I.e:
git checkout -b new_branch
Now I'm on the new_branch branch. How to make changes visible only in the new_branch branch?