Make sure to only run git methods if the user requested  an update.