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.
Forkbutton is located in the right upper corner.
git clone [URL]. In place of
[URL], put the forked repository’s URL. Click
Codeand copy the
git pushcommands incorporate changes to your copy by default.
Pull Requestsin 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.
View all Courses