Github question?

Hi, I was wondering if you can use github to pull update code from a repository? So I.E everytime the arduino or clone starts up, it updates the code from the repo? similar to the

apt-get update

in linux? Ethernet would be used as well.

Where do you propose the toolset (compiler + linker) would run?