Repository: Added the git_repository_discover function that finds by itself the git directory that manage a given directory path.