Automatic Pulling?

Hi there, I was just wondering if there would be a way to get a server to automatically do a pull when a commit was pushed to a repo, specifically the master branch.

Thanks!