I guess i messed up something with the git, although i don't get what exactly is happened :)
So, initially, while being not in data directory (thought i was inproject's root), this is my command history:
 git add .
 git commit -m "v0.2.1"
 git push origin master
 git add .
 git commit -m "v0.2.1"
 git rm -r data
 git rm  data
 git rm data/file.txt
 git rm 
 git rm .
 git rm . -r
 cd ../
 git rm -r data
 git rm -r data/
 git rm -r .data
 git rm -r ./data
 git add .
 git commit -m "v0.2.1"
 git push origin master
 git reset --hard HEAD~1
 git push --force
i simply wanted to commit changes and then forget to remove the data directory from those changes. In the end lots of work in the main project directory lost - files are reverted to the state they've been at the previous commit (quite a lot was done since then). i guess it is happened because of git reset --hard HEAD~1 which probably was an advise from the error log since there were some problems. was in hurry and this is a result.
Any way i can restore a few local files to the state before this happened? tried solutions from here How to revert a "git rm -r ."? but nothing helps.
 
    