How to create remote repository for use with server hook

I have an omnibus install of gitlab. For one of my repos I am trying to set up a pre-receive hook that communicates with a remote repository, but I realized I don’t know how to create a remote on the server side (or in general do generic git commands on my server side bare repo). I have file system access and can see the repository in the hashed storage location, but I think all the git commands go through gitaly or something like that. The only other reference I can find in the documentation is to set up a mirroring repo which automatically creates a remote, but I don’t want to set up the push mirroring. Thanks for any help!