I've a master branch. It's the on-production code.
Every 'hotfix' must start from this branch
I've a develop branch. It's the 'stable-next-release' code.
Every new feature must start from this branch and is merge ONLY with this branch.
Today I take a mistake: I branched-off from develop for an hotfix.
Now I really need to apply the same modification to master branch, but I cannot merge the new hotfix branch because this will release every new feature already in develop.
Is there a way to ... sorry for bad words ... get a diff from develop and hotfix and the apply this modifications to master?
Is this probably what is called 'creating a patch' ?