git checkout to latest tag code example Example: git checkout tag $ git checkout tags/<tag_name> -b <branch_name>