Implement git_repository_discover
Merge pull request #19 from Merovius/discover

Implement git_repository_discover