codecommit_merge_branches_by_three_way function

Merges two specified branches using the three-way merge strategy