1. git log -g 找回之前提交的commit,并记下commit_id
2. git branch newbranch commit_id
3. 切换到newbranch分支,检查文件是否存在。