only commit to git if the update is not the dry run

Benjamin Mako Hill || Want to submit a patch?