Git: rev-list and rev-parse