PHP script to automatically pull changes from git repos (Bitbucket or GitHub)