How can I merge a branch to deploy?

How can I add the changes that I have in a different branch to branch master (which is the deploy branch)? With a simple merge? doesn’t it break the already deployed code?

Yes simple merge should work just fine. You should test your code before merge so it doesn’t break your deployment.