Fix 'read' priority and improve 'git' handling.