tag
git tag //list tag
git checkout tags/<tag_name> -b <branch_name> // Switched to a new branch with tagname
Discard unstaged file
git checkout -- .
git tag //list tag
git checkout tags/<tag_name> -b <branch_name> // Switched to a new branch with tagname
Discard unstaged file
git checkout -- .