git pull from another user

C++
git pull https://[email protected]/projectfolder/projectname.git master
or
git pull origin <branch>

Source

Also in C++: