It does this by watching your site for any changes and then running git commands automatically for you.
In fact, you can configure Spock to do just about anything you'd like via the command line, when files change. Wan to run
rsync? Node tasks? Call an external API? Reboot an external service? No problem.