script to update git working trees