Revert "add git2rel method"

This reverts commit 90c68c03e9e96da9af7fa5fdeab06a6b50dd9608.