If we discover bug in some branche we fix it (check New release on picture). But also we interesting in moving this fix to Old release and Main de
You could:
Find common parent. Thanks to Novelocrat for this step.
git merge-base branch1 branch2 branch3 ...
Checkout the common parent
git checkout A
create new branch to fix bugs on
git checkout -b bugFix
Make bug fixes and commit them to bugFix branch
Checkout branch that needs the bug fix
git checkout branchToApplyFixTo
Merge the bugFix into the branch
git merge bugFix