Showing results for 
Search instead for 
Did you mean: 

How to get back the deleted GitHub folder


I was trying to put an updated version of my project on Github using Github desktop. I have a backend folder and a frontend folder. In the past the frontend folder has a white arrow on Github so I tried deleting the .git folder created by react and committed again a few weeks ago but it did not fix it. Today I tried again to get the folder to commit, but it wasn't so I went to a different branch and then back and got an error about a .lock file and my frontend folder is now empty. Is there a way to recover this folder somehow?