$ git clone -n https://src.fedoraproject.org/rpms/bear.git /var/lib/mock/f41-build-859313-168684/root/chroot_tmpdir/scmroot/bear Cloning into '/var/lib/mock/f41-build-859313-168684/root/chroot_tmpdir/scmroot/bear'... $ git fetch origin b56d17dd9443c22b574397e95a655e69dc1fd048:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/bear * [new ref] b56d17dd9443c22b574397e95a655e69dc1fd048 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at b56d17d New upstream release 3.1.5, fixes rhbz#2315396