how to merge to main branch from another branch in github code example Example: how to merge a branch into another branch git checkout YourBranch git merge develop