The question is clear:
How do I perform Xcode's commands for git pull and git push via terminal?
I've set up multiple git accounts and ssh (Reference). Someone told me the reason why one of those git commands (from XCode or Terminal) doesn't work is because of different ssh policies. Xcode uses open SSH, while Terminal uses normal ssh (I'm not really sure about that). Therefore the ssh setup is different in Terminal and Xcode.
Since the remote origin URL should be the same, I'd like to know how to perform those commands in Terminal?