Then you just use git to clone from whatever remote server is hosting it. Usually github.

`git clone https://github.com/bitcoin/bitcoin`

Will clone the official bitcoin repo from github onto your local system.

This is the source code, so to run bitcoin, you would have to compile the executables using the source code. That requires dependencies but that's how you use git to clone software you want.

Reply to this note

Please Login to reply.

Discussion

And using a gitea would allow that software to be shared later?

If you ran git tea, you can

`git remote add origin yourgitteaserver.com`

Then push it to your remote with

`git push`

This will "push" the code in your local directory to your remote server. (Which in this case would also be local) But others can access your code with

`git clone yourgitteaserver.com/user/project.git`

And they can clone your code onto their local directory.

The takeaway is git is just a version control software.

A git remote server is a server you can use to host your code for you or others. Remote servers can also do things like GitHub actions and perform tasks in a container on push or commit or whatever other rules you want to make.