git-reflog: add option --updateref to write the last reflog sha1 into the ref