add script to poll a git dir, try to switch to master, and do a pull