Use git-clone with --revision
In !1203 (merged), we switched from using git clone to a combination of git init and git fetch because there was no way to clone a reference. However, the ability to clone a specific reference will be added in the Git 2.49 release.
The advantage of using git clone is that it supports bundle-uri. Let's swap the code back to using git clone. But this does require Git 2.49 or later to be used.