Add polyglot and airlineish git sources
Add a few optimizations (caching in find_repo_candidate)
Add a few comments