git how to create a branch and merge with other branches 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