So I forked a repo from a public repo, and accidentally pushed to my repo a file that contains my credentials to it. After deleting my forked repo on GitHub and credentials from provider as well, I forked it again and found that my pushed commit is still there on 'tree' branch on my newly forked repo (accessible by the link attached with provider notice email ). and it says that the original owner is collaborator, which is likely could have seen it. So for now I deleted that repo again.
Is there any way to delete that 'tree' branch which contains my API key and fork it fresh with no history? or it is enough to just disable API key? (but can't fork that repo anymore.) Thank you.