github add new origin

C++
git init .
git remote add origin <http/someURL>
git pull origin master
Source

Also in C++: