# Zig Fetch ProtocolError?

**URL:** <https://ziggit.dev/t/zig-fetch-protocolerror/7219>\
**Category:** Help\
**Tags:** package-management\
**Created:** [December 8, 2024, 5:49pm UTC](https://ziggit.dev/t/zig-fetch-protocolerror/7219 "2024-12-08T17:49:31Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![Sze](https://ziggit.dev/user_avatar/ziggit.dev/sze/32/496_2.png) [@Sze](https://ziggit.dev/u/Sze)\
**Post date:** [December 8, 2024, 6:41pm UTC](https://ziggit.dev/t/zig-fetch-protocolerror/7219/3 "2024-12-08T18:41:02Z")

</div>

I am not sure how to specify the branch with the `git+https` protocol (in a way that is supported by the protocol).

However using https with a [commit specific download url](https://ziggit.dev/t/best-way-to-release-packages-for-libraries/3988/2#commit-specific-archive-download-link-3) works as a workaround:

```zig
zig fetch --save https://github.com/epizzella/RTOS/archive/9d4801c309f5142848f124092034dd59a270e2f5.zip

```

---

_[View the full topic](https://ziggit.dev/t/zig-fetch-protocolerror/7219)._
