Use git-repo-info package for repo information.

Extracted this logic into a helper package to make it easier to consume
across our projects.

Details here: https://github.com/rwjblue/git-repo-info