use ref.commit to get commit from ref
Merge pull request #58 from niyaton/fix-convert-of-git-svn-repository

use ref.commit to get commit from ref