Make git segment faster