We should either use the branch ref in both cases, or the tag ref in both cases. See docs/source/siteadmin/deploying.rst (branch) and upgrading.rst (tag).
docs/source/siteadmin/deploying.rst
upgrading.rst