RF: add ability to pass branch to checkout_closest_tag