git pull from differemt server

C++
$ git remote add repo_b username@host:path/to/repository.git
$ git pull repo_b master
Source

Also in C++: