GitHub is one of the most commonly used version control and collaboration software in the development community. Developers maintain their projects in the form of repositories.
A fork is a copy of the original repository. Once you fork a repo, a copy is stored on your account and the changes you make to it can be incorporated into your copy of the project instead of the original repo. You then own the copy of the repository.
Later, when you are ready to incorporate the changes into the main project, you can open a pull request and ask the maintainer or the author to add your changes if needed.
Fork
button is located in the right upper corner.git clone [URL]
. In place of [URL]
, put the forked repository’s URL. Click Code
and copy the https
URL.git commit
and git push
commands incorporate changes to your copy by default.Pull Requests
in your copy of the repo and then click on New pull request
.Pull Request
. The maintainers will review your changes and incorporate them into the main project.Free Resources