I want to find out what are the branches that a certain commit belongs to on GitHub but unlike most of the commits, this one does not display its branch on GitHub
a)
b)
I cloned the repository, and then ran git branch --contains <COMMITID> locally, but I got error: no such commit
However, on github I can navigate to the commit by passing the <COMMITID> in URL which I think contradict with the error I got earlier...
I suspect that a branch was deleted (I am not sure about remote branch deletion, but I think only the ref is removed and commits are left untouched?)...and the commit is not reachable (ignored when I git clone locally?)
if so how can I find more information about these "zombie commits"? if I am wrong, what actually happened? maybe a git revert?