$ git clone -n https://src.fedoraproject.org/rpms/tcsh.git /var/lib/mock/f41-build-834024-158041/root/chroot_tmpdir/scmroot/tcsh Cloning into '/var/lib/mock/f41-build-834024-158041/root/chroot_tmpdir/scmroot/tcsh'... $ git fetch origin a48ef2afd2418abb34d2e303a52d7a6c8c3e9eaf:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/tcsh * [new ref] a48ef2afd2418abb34d2e303a52d7a6c8c3e9eaf -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at a48ef2a Update to new version