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