$ git clone -n https://src.fedoraproject.org/rpms/golang-github-shurcool-githubv4.git /var/lib/mock/f39-build-1869551-42627/root/chroot_tmpdir/scmroot/golang-github-shurcool-githubv4 Cloning into '/var/lib/mock/f39-build-1869551-42627/root/chroot_tmpdir/scmroot/golang-github-shurcool-githubv4'... $ git fetch origin 7459b0d97ecd471b9c39e9ae290c1a69ce7458f7:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/golang-github-shurcool-githubv4 * [new ref] 7459b0d97ecd471b9c39e9ae290c1a69ce7458f7 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 7459b0d Update to latest commit