1 post tagged
Create a private scratch repo, git push -u origin main, then match HEAD to git ls-remote and gh api. No fetch, pull, or --web.