I understand your problem follow these steps to recover your local deleted file and code:
- Go to toolbar: VCS->Git->UnStash Changes
 - From UnStash Changes pick recent Uncommitted changes
 - Click to view button
 - You will get a list of all files which get affected
 
Now you can merge manually those files which are affected and one thing you have to do manually add deleted files again.
solved I accidentally updated my git android project and lost my changes which is not committed. Is there any way to recover my changes?