fix(build): execute git commit only if there have been changes

https://github.com/GoogleCloudPlatform/gcloud-node/pull/269#issuecomment-61288272 for context.