migrate to git-2