I am setting up the infrastructure for my project.
We have a remote GIT server at a different location. To avoid network delays we have set up local git server. Now what I intend to do is have my local git server talk to remote Git server so that both are in sync.
The idea is that whenever there is a commit/push in local Git server an automatic trigger must happen that should even push code to remote Git server and vice versa.
So finally at all time we have perfectly synced Git servers and now much faster too. I do not know how to achieve this, was wondering if something with hooks can be done, but I have no ideas.