Override GitRepository#lsRemote setting maxLogLines
Override GitRepository#lsRemote setting maxLogLines

This allows running ls remote with a limited number of
log lines, using the GitRepository instance instead
of the static method.

PiperOrigin-RevId: 257873813
Change-Id: I0dbc727e4616945b030ac5b5e6eef5f74a1f470e

google/copybara,google/copybara,google/copybara