use grgit to retrieve git commit hash