This morning, I logged into my production server and accidentally delete one of my file.
UrlController.php
Unfortunately, there is no undo in WinSCP.
As soon as you hit on the red X, it gone for good.
Fortunately, I use git.
When I do git status, this is what I see.

Is there anywhere to use git to bring that file back, or undo what I just delete ?
I'm new to git. Feel free to suggest a better option. Thanks.
 
    