I had a weird experience with git right now, I had a commit which was done more than one week ago, I store my repository in bitbucket, if I run the git log command, I can see the commit that I did, but the actual files included in that commit were lost. This is the second time that I have experienced it, the first was when I thought I wasn't able to commit that changes and lost it accidentally, but now after checking my log those two commits exists. Any idea why this happened?
Also please note that if I checkout to that specific commit, the files will show. But when I go back to my latest commit, the files were gone. I know haven't removed those.