All branches having the same name in both ends are considered to be matching