how to merge one branch into the other code example
Example 1: git merge branch to another branch
git checkout targetBranch
git merge sourceBranch
Example 2: how to merge a branch into another branch
git checkout YourBranch
git merge develop
git checkout targetBranch
git merge sourceBranch
git checkout YourBranch
git merge develop