cd to path before running git commands in update-this-repo.sh