somene got access to my sensitive information accidentally published on github - github

I accidentally published my production application on a public github repo
just an hour after that someone forked it
I don't know what to do the repo contained all the application credentials and a months of coding he also forked some other repositories
I removed the repo but fork is now public
Is there anyway to remove it?

Related

Why is Github not picking up my contributions once I've connected my application to Netlify?

I've deployed an app on Netlify through continuous deployment by linking a single Github repo. I had previously been making commits to the project locally, and my contributions were being tracked for this repo. However, now that I've linked the repo to Netlify, it seems no commits or contributions I make are picked up by Github. The commits can still be seen in the Github repo and commits are updated, but the contributions no longer are tracked despite them working previously.
For some context I've checked the Github help page on contributions:
https://help.github.com/en/github/setting-up-and-managing-your-github-profile/why-are-my-contributions-not-showing-up-on-my-profile
And cannot see what rule I've violated; I'm working on this on my own, it's a standalone repo, etc etc. considering they were being tracked before for the same repo, I'm confused as to what has changed now that Netlify has been integrated.
Any help/guidance appreciated
So it had nothing to do with Netlify, but my work Mac did not have me globally installed as the commit author with my email. After that, all previous authors were wrong as being my local computer email.
To get around this I followed this tutorial to replace all previous commits with the correct author: How do I change the author and committer name/email for multiple commits?

Accessing forks in private GitHub repository

I am the owner of a private GitHub repository. Somebody else (student1) forked it a while ago and has done some work on his fork. Now I need somebody else (student2) to pull those changes and work off of them. However, he cannot access student1's fork at all. Trying to git pull provides an error about not being able to find it. Student2 can also not see student1's fork on GitHub's website.
Everybody is added as a collaborator. I can access all forks (I am the original owner of this repository). I tried removing student2 and adding him back but it changed nothing. I tried inviting another friend (let's say student3) and he can fork but also cannot see other forks. In the past, I distinctly recall any users added as collaborators being able to pull from other forks so I am not sure why this isn't working.
All I see is "Find another repository to fork"
You can fork any private repository you can access to your user account or any organization on GitHub Team or GitHub Enterprise in which you have repository creation permissions.
Maybe this is possible through an organization, where you can change member privileges.

Can I request github to delete an existing fork of my private repo?

I made a repo just now and commit the first version. This repo should be made private. During the time when finishing payment and changing from public to private, someone has forked this repo.
I read the introduction of github, it says If I change a public repo to a private one, the existing forks will be kept in a separate network, it means it will still exists.
So I want to know, can I request github workers to delete this existing fork? I must keep this repo private, it has some confidential information. I think github worker should help to make it.
You can, but any local clone of that fork can then be pushed again to a new non-forked repository. Created on GitHub or elsewhere.
So it really depends on when that fork was created: if it was after you started to put confidential information, said sensitive data are not safe (ie could be made public again) even if the fork were to be deleted.

Github - Removing collaborators after they fork a private repo

My organization has a private repo and we've brought on a few contractors and given them access to the code base.
These contractors have been forking the code base, and I wanted to evaluate the potential security implications of that.
Could any of these forkers make the code public if they choose to?
If their access is removed from the original project, will their access to the forked repo also be removed?
Could any of these forkers make the code public if they choose to?
Yes, they can push it to a new public Git repo (on GitHub or any other Git hosting service)
If their access is removed from the original project, will their access to the forked repo also be removed?
See "Removing a collaborator from a personal repository"
While forks of private repositories are deleted when a collaborator is removed, the person will still retain any local clones of your repository.
For a better security, contractors usually operate on PCs inside the organization through VPN. Those PCs can then limit or prevent internet access.

Complete contribution to git repo

I want to contribute to a git repository. From the tutorials and other things what i found is i have to fork the repository to achieve this. So i forked the repository and then i cloned my copy of code in SourceTree.
Now in the repository property i changed the user name to the owner of that repository in the optional extended integration section.
Then i changed the code where needed and pushed to master branch. Currently its showing that i made contribution in my repository but i want those changes to reflect in the main repo.
Can anyone guide me how can i do this.
You need to issue a pull request then.
As long as the core developer (team) has not added you as a contributor and granted writing rights on the repository, there's no way you can contribute directly. Your only option then is to work on your own fork and hope the developers have and take the time to review and incorporate your pull requests.