# Github Node

**URL:** <https://community.n8n.io/t/github-node/10381>\
**Category:** Questions\
**Created:** [January 6, 2022, 3:14pm UTC](https://community.n8n.io/t/github-node/10381 "2022-01-06T15:14:10Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![wsargent](https://avatars.discourse-cdn.com/v4/letter/w/b487fb/32.png) [@wsargent](https://community.n8n.io/u/wsargent)\
**Post date:** [January 6, 2022, 3:14pm UTC](https://community.n8n.io/t/github-node/10381/1 "2022-01-06T15:14:11Z")

</div>

Hi n8n folks!

Hope everyone had a nice holiday!

I am having a lot of trouble with getting a file from Github using the github node.

In particular, the “file path” is giving me difficulty.

I cannot find an example of what this is supposed to look like, and I’m not having any luck trying all kinds of options.

Name, URL, some paths, full? paths…

In particular, I’m looking to get the source code.zip from a release version, but any hints will do…

Anyone have any examples that work?

Even looking at the JSON from a get release has not yielded the answer.

Thanks!

---

<div class="post-metadata">

**Author:** ![MutedJam](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/mutedjam/32/70851_2.png) [@MutedJam](https://community.n8n.io/u/MutedJam)\
**Post date:** [January 6, 2022, 3:20pm UTC](https://community.n8n.io/t/github-node/10381/2 "2022-01-06T15:20:36Z")

</div>

Hi @wsargent, here’s a very quick example:

 ![image](https://europe1.discourse-cdn.com/n8n/original/2X/b/b165d44d6c2fa8c2fa3fc67c16ca80a3c7c08d77.png)

This downloads the file [n8n/assets/n8n-logo.png at master · n8n-io/n8n · GitHub](https://github.com/n8n-io/n8n/blob/master/assets/n8n-logo.png). Repository Owner would be `n8n-io`, Repository Name = `n8n` and the File Path is `assets/n8n-logo.png` in this example.

> **Example Workflow**
>

Fetching release files is a bit trickier as there are typically multiple files per release. So you would first need to fetch a release, e.g. like so:

> **Example Workflow**
>

You would then need to filter for the file you’re interested in and download it using the `browser_download_url` returned by the last node in the example above.

Hope this helps!

---

<div class="post-metadata">

**Author:** ![wsargent](https://avatars.discourse-cdn.com/v4/letter/w/b487fb/32.png) [@wsargent](https://community.n8n.io/u/wsargent)\
**Post date:** [January 6, 2022, 3:35pm UTC](https://community.n8n.io/t/github-node/10381/3 "2022-01-06T15:35:25Z")

</div>

Thanks @MutedJam! This is a huge help, and I was able to get it going and climb back out of the rabbit hole!
