There is much simpler way:
git merge --no-commit merge_branch
As man says:
With
--no-commitperform the merge but pretend the merge failed and do
not autocommit, to give the user a chance to inspect and further tweak
the merge result before
committing.