I need to add this functionality into my GO program, with goal to poll the repo and perform a git pull on changes. I have been using https://github.com/src-d/go-git but am unable to find a way to poll.
I don't want to use a webhook to avoid creating a server for incoming payloads.