$ git clone -n https://src.fedoraproject.org/rpms/gfan.git /var/lib/mock/f41-build-847951-164378/root/chroot_tmpdir/scmroot/gfan Cloning into '/var/lib/mock/f41-build-847951-164378/root/chroot_tmpdir/scmroot/gfan'... $ git fetch origin 21c77ad1c07c69c079fc0b08ae16571fca1559c6:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/gfan * [new ref] 21c77ad1c07c69c079fc0b08ae16571fca1559c6 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 21c77ad Version 0.7