Add upstream_branches script