I currently have two git users for two different Github account repositories on the same machine.
Somehow, it sounds to me that the first user I have set on my machine is always the one taken into account when I attempt to push to origin. When I try to push using the second user, I get a message saying that the first user has no rights on the second repository.
I would like as a first step to override the 'system' config in the second repo, but it would then be nice to know how is git generally configured on a Mac machine, and how can I make multiple users linked to multiple Github accounts coexist on the same machine?