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