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.