Git & CollaborationBeginner
Fork
PronunciationFORK
Definition
Your own copy of someone else's repository on GitHub, where you can make changes and then suggest them back with a pull request.
Where you hear it
Open source contributions.
Examples
Fork the repo, fix the typo, and open a pull request.
Our company keeps a private fork of the library.
I forked the library to add the Arabic locale, and the owner later accepted the change.
Common mistake
Letting a fork fall behind the original. Sync it regularly.
Don't confuse with
Fork is often confused with Clone; a fork is a server-side copy of a repository on a platform like GitHub, whereas a clone is a local copy of a repository on your own machine.
Say it at work
- In a meeting or chat
I'll fork the project now so I can start working on the feature branch.
- In an email or ticket
Please fork the main repository to your personal account before submitting your changes.
Keep exploring
More in Git & Collaboration