add branch switcher to source tree