What is the difference between git clone and fork?

CloneFork
A Git command (git clone)A feature of GitHub or GitLab (button)
Copies a repository to your computerCopies a repository to your account on the server
You must have read accessWorks on any public repository
Used to work locallyUsed to suggest changes to a project you do not own

A normal open source flow is: fork the project, clone your fork, push your changes to it, and open a pull request. See Git and GitHub.


Learn more about the similar topics:
Tutorials
No Content Found.
Exercises & Assignments
No Content Found.
Interview Questions & Answers
No Content Found.