What is the best way to move all progress on the master branch from point X to a new temporary branch (e.g., new_master), rewind all changes to point X, and finally commit all changes from branch A as master.
And what I want to achieve is:
- Move all changes from master, from "some changes" point to new branch.
- Merge all changes from 1.0.1.120 branch to master (but I must preserve pom.xml files from master)

create your branch from commit hash (first commit message.)
do your changes on your new branch as usual
Step 3 has variations, depending on what is easier:
3.1) do merge of master to your new branch with --no-commit option.
3.2) Save your pom files from master somewhere then merge master, without changes,e.g. keep your changes, and then manually add your saved pom files.: