how to merge one branch to another using git console code example Example: how to merge a branch into another branch git checkout YourBranch git merge develop