improve performance when Git can be queried instead of filesystem