$ git clone -n https://src.fedoraproject.org/rpms/R-xml2.git /var/lib/mock/f33-build-228133-49763/root/chroot_tmpdir/scmroot/R-xml2 Cloning into '/var/lib/mock/f33-build-228133-49763/root/chroot_tmpdir/scmroot/R-xml2'... $ git reset --hard 9bfd30b02c35db74fc7572a4379498c20b2c6419 HEAD is now at 9bfd30b Update to latest version.