here's a script that will update a repository (git) directory if there are changes available