DevOps / Github Interview questions
What is forking in GitHub?
Forking creates a personal or organizational copy of someone else's repository, including its full history, under your own namespace. It's the standard way to contribute to a project without direct write access: fork it, push changes to your fork, then open a pull request back to the original (upstream) repository.
A fork keeps a reference to its upstream repository, which lets GitHub show a comparison between the two and makes opening a cross-repository pull request straightforward. Forking is also commonly used to experiment with changes in isolation without any risk to the original project.
More Related questions...