Get nth SHA in log. git show nth commit in log.