Imagine that I have an environment for testing a web application, where there is a cloned GitHub repository that goes right inside the server, and any modification in it already results in a real-time modification when the user accesses the same via browser.
My question is, is there any way to add a listener to this local repository so that whenever there is a change in the official repository (GitHub) it already automatically downloads the changes? Illustration to facilitate understanding:
I've been searching and found nothing about it, but I know that to update my local repository, the command would be:
$ git pull origin master
Is there any solution from Git itself or Gulp for this kind of listener ?