My computer crashed and now I encounter problems with my local git repository.
git status
result in
shows fatal: Not a git repository (or any of the parent directories): .git
I am in the correct repository and I can also see the .git folder which contains the following files / folders.
I tried
git init
which resulted in
Reinitialized existing Git repository in c:/dev/myproject/.git/
However it still does not work (git status result in the error message mentioned above).
Is there any way to repair my local repository? I have some work in there which I haven't pushed yet and will lose otherwise.