Teach Repository to merge a branch