# Can't set upstream branch to github on Raspberry Pi

**URL:** https://discourse.nodered.org/t/cant-set-upstream-branch-to-github-on-raspberry-pi/85281
**Category:** General
**Created:** [7 February 2024 07:22 UTC](https://discourse.nodered.org/t/cant-set-upstream-branch-to-github-on-raspberry-pi/85281 "2024-02-07T07:22:58Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![basti188bu](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/basti188bu/32/88060_2.png) [@basti188bu](https://discourse.nodered.org/u/basti188bu)
#### Post date: [7 February 2024 07:22 UTC](https://discourse.nodered.org/t/cant-set-upstream-branch-to-github-on-raspberry-pi/85281/1 "2024-02-07T07:22:58Z")

</div>

Hello,

i'm trying to connect node-red on my RaspberryPi with Github, but it doesn't work as expected.  
I generate a ssh-key in Node-Red and add it to GitHub Repository under Settings -\> Deploy Keys.  
I set up the right path for the repository in Node-Red. I generate a token on the Github Page, but when i try to push the project via commit history i don't get the authentication popup window to fill in my username and the generated token.  
the log shows the error:  
"could not read username for "[https://github.com](https://github.com)".

The strange thing is, i did the exact same steps on my windows pc and it worked without any issues.

Thanks in advance for the help.

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)
#### Post date: [7 May 2024 07:23 UTC](https://discourse.nodered.org/t/cant-set-upstream-branch-to-github-on-raspberry-pi/85281/2 "2024-05-07T07:23:31Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
