how to merge changes 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
Example 3: update one branch to another
git checkout feature1
git merge develop