$ git clone -n https://src.fedoraproject.org/rpms/gfal2.git /var/lib/mock/f31-build-53827-27910/root/thebuilddir/tmp/scmroot/gfal2 Cloning into '/var/lib/mock/f31-build-53827-27910/root/thebuilddir/tmp/scmroot/gfal2'... $ git reset --hard 2f72daaa10d7de6890d0209211e34c1223487752 HEAD is now at 2f72daa new upstream release