I am just wondering what happens when a fork is done on github.
For example, when I fork a project does it make a copy on github server of all of that code, or just create a link to it?
So another question: In git since it hashes all the files if you add the same file to it it does not need to store the file contents again because the hash will be already in the system, correct?
Is github like this? So if I happen to upload the exact same piece of code as another user, when github gits it does it essentially just create a link to that file since it would have the same hash, or does it save all of its contents again separately?
Any enlightenment would be great, thanks!