Member-only story
Git Fork Vs Git Clone
I assume that you have some basic idea about the version controlling System which is used to track the history of a software development where a group of developers working to develop and release a software product.
Let me explain “Git Fork Vs Git Clone” using the famous version controlling system git and GitHub.
What are the differences between Git Fork and Git Clone?
If you need to take a copy of the main project repository to your own GitHub repository/ if you need to contribute to an open-source project then you have to fork the main repository by clicking the Fork button. This model is mostly followed in the Open Source Project contribution.
Let’s take the following example,
we do have an open-source project repository called https://github.com/wso2-extensions/esb-connector-salesforcerest and you would like to contribute to it.
To contribute to the above-mentioned repository you have cloned it to your local machine and have done some modification to that repo and tried to push it to the remote repository.
When you are trying to push directly to this remote repository you will definitely get the following error because this is a secured repository by the repo owner.