Restoring a Deleted File
git rm toc.txt git commit -m "Remove toc.txt"
git checkout commitid toc.txt git commit -m "Resored toc.txt"