I did the following on my repository and now all the files have been replaced by statements like these(I have replaced the value in the second line with *s):
version https://git-lfs.github.com/spec/v1
oid sha256:8*****************************************93
size 1003203
lfs commands run:
git lfs install
git lfs track "*.xyz"
git lfs migrate import
Now all files including the xyz files are unreadable. How can I possibly undo these ?