Restore deleted file from repository <p>I'm being in a transition from SVN to GIT and got a question for which I cannot find an answer. I'll describe am usual scenario when I work with some open source projects via SVN.</p> <ol> <li>make a checkout</li> <li>start messing around with files, make changes, to test how the project works.</li> <li>after p.2 some files are heavily modified and I have no chance to get back to original state.</li> <li>I delete the modified files from disk "rm filename.cpp", run the command "svn update" and voila, all original files are back.</li> </ol> <p>All this works fine with GIT as well, except p.4. I try to make "git pull" it says that project is up to date and I don't get the original files even though they are missing from local folder.</p> <p>What is the correct command for p.4 when working with git. Thx</p>