I have a commit id available in the bare repo.
git show commit id
, shows the commit with the changes.
But the same commit doesn't show up when using the below commands
git branch --contains <commit id>
or
git reflog show --all | grep <commit id>
What could have happened to the commit id?