Simple iterator instead of list coercion
Make git branch lookup lazy