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
Git Clone
Git Remote
Git Push
Git Fetch and Pull
Exercises & Assignments
Clone a repository, make a change and push it
Get new changes from the remote with fetch and pull
Interview Questions & Answers
What is Git Clone and How to Clone a Git repository?
How can you push changes to a remote branch in Git?
What is the difference between git fetch and git pull?
What is the difference between git clone and fork?
What is origin in Git?
What is a pull request?
What is the difference between force push and force with lease in Git?