結果 : how to get previous commit id in git