Implement caching of git rev_list, which leads to a massive speedup when there are many branches.
Add motivation for this branch to the README.