$ git clone -n https://src.fedoraproject.org/rpms/php-sebastian-recursion-context5.git /var/lib/mock/f45-build-28291-629/root/chroot_tmpdir/scmroot/php-sebastian-recursion-context5 Cloning into '/var/lib/mock/f45-build-28291-629/root/chroot_tmpdir/scmroot/php-sebastian-recursion-context5'... $ git fetch origin 3e83efc378e67d4004205966c2f489048419de87:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/php-sebastian-recursion-context5 * [new ref] 3e83efc378e67d4004205966c2f489048419de87 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 3e83efc v5.0.2