Save changes with a commit.