Final tweaks to git sync script