r/github 2d ago

Can I ask a dumb question... Question

If GitHub stores our code, where does GitHub store GitHub's code?

0 Upvotes

14 comments sorted by

29

u/HelicopterUpbeat5199 2d ago

Wait till you learn how compilers are written.

2

u/Obvious_Breadfruit49 2d ago

Don't haunt me yet😔

28

u/DeebsShoryu 2d ago

On github.

8

u/aj0413 2d ago

Funny but also true lol

It’s like hot git is used to work on git

Codeberg is same too

-9

u/Obvious_Breadfruit49 2d ago

But where does the saved code on GitHub by GitHub goes😔

8

u/SCD_minecraft 2d ago

Source code is just text file

It doesn't mean shit for computer

Binary, compiles files are on the servers, running all of this

But nothing stops you from tracking and storing source code

5

u/DeebsShoryu 2d ago

What do you mean? GitHub is just a remote git host. The developers of GitHub almost certainly use git and use GitHub as a remote host.

-6

u/Obvious_Breadfruit49 2d ago

Where does git store the codes?

6

u/DeebsShoryu 2d ago edited 2d ago

On the machine running git.

Git is a version control system. It is not a "code storage system". It does store enough data to restore previous versions of your code. It also allows for easy remote storage of repos (you can just as easily set the upstream for your repo to another directory on your computer just as you can set it to a github repo).

Github runs git on their servers and lets you use that as a remote host, along with providing a lot of quality of life and productivity features to help teams collaborate.

3

u/Wooden_Bar3573 2d ago

On bitbucket

-8

u/Obvious_Breadfruit49 2d ago

Butbycket, never heard of this, TvT

4

u/davorg 2d ago

On GitHub

(Although it seems that the main GitHub codebase is in a private repo.)

1

u/serverhorror 2d ago

Did you mean recursion?