Link Search Menu Expand Document

Working with Git multiple remotes

Working in between two big companies that have their own environments and each using different pipelines put me in to a situation where I have to understand and work with two git remotes, one with Github and the other with Gitlab

So the structure will be like this for example:

$git remote -v                                                                     
origin (fetch)
origin (push)

upstream (fetch)
upstream (push)

Each company will have different environment setup altough this result in one production environment.