merge selected files from a branch