[RuboCop] Reduce complexity in Git#clone by extracting argument construction to a helper method