Fixed url rewrites, config command crashes, args parsing
Fixed clone: get all heads by default