`zig fetch`: resolve branch/tag names to commit SHA (#19941)

* Revert "Revert "Merge pull request #19349 from nolanderc/save-commit""

This reverts commit 6ca4ed5948d8eaab28fc5e3706aeb1b113a210af.

* update to new URI changes, rework `--save` type

* initialize `latest_commit` to null everywhere
8f6b1f2c38Christofer Nolander committed on 5/11/2024, 9:19:35 PM· committed by GitHubparent86d8688
2 files changedLine totals unavailable