I have a website developed by a third-party company. It is under Git, but repo is on their own server which I do not have access to. Both myself and this company would want to have site code under it and both parties want to be able to commit or roll out changes.
So, my idea is to create an intermediate Git repo somewhere on my server. My changes will be committed to this repo, while third-party company will be committing to this repo AND pushing the changes up to their server if needed. Also, if there are any changes they need to push down, they will be able to do so by pushing it to my intermediate repo first, then to live site.
Two questions:
- Is what I am proposing make sense? If not, is there a better way?
- If it does make sense, how do I add intermediate repo?