Optimize github driver