Push to two git

Hello. I want to push configs to local git for viewing in LibreNMS and also to a remote git repository. How do I set this up correctly?