how to merge code from one branch to another 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