def METHOD_NAME(self, tag_name, force=True):
    try:
        self._run_git_remove_local_branch(tag_name)
    except Exception:
        self.logger.debug(f"Branch {tag_name} doesn't exist")
    # TODO check if origin is Drakkar-Software/OctoBot
    return self._run_git_command(["checkout", f"tags/{tag_name}", "-b", tag_name,
                                  "-f" if force else ""])