Added support for branch assigment for initialize, sync and order sync.