I am new to git as well as github. I set up a repo on github, and I can push local stuff to this remote repo. Now here is the question: just after I push something to the re
Nobody can push directly to your repository if you are not already granting them write access.
The process for contributing to a public repository in GitHub starts by forking the repository, then pushing the change onto the forked, then creating a pull request onto the original repository. After that comes the role of the project owner to review and take action (merge/decline) of the requested code change.
For more details, please check the below helpful article:
https://akrabat.com/the-beginners-guide-to-contributing-to-a-github-project