---
title: "Discussion on \"Git and github\" | Hashnode"
description: "Discussion on \"Git and github\". github\nFix GitHub Push Error using SSH\nIf git push fails with Repository not found, switch from HTTPS to SSH.\nSteps:\n\nCheck for an existing SSH key: ls ~/.ssh → if id_ed25519 exists, reuse it.\n\nGenerate a key (if needed): ssh-keygen -t ed25519 -C \"sh..."
url: "https://hashnode.com/posts/git-and-github/6958b9f54bf7e1cbddb4bd9a"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Git and github](https://uzma.hashnode.dev/git-and-github?utm_source=hashnode&utm_medium=feed)

github Fix GitHub Push Error using SSH If git push fails with Repository not found, switch from HTTPS to SSH. Steps: Check for an existing SSH key: ls ~/.ssh → if id\_ed25519 exists, reuse it. Generate a key (if needed): ssh-keygen -t ed25519 -C "sh...

Jan 3 · 2 min read · uzma.hashnode.dev  
Read the article

## Written by

[Uzma](https://hashnode.com/@uzma2023)

@uzma2023

  
[View profile](https://hashnode.com/@uzma2023)

taking action.

Writing blogs on what i learnt so that i could refer them later :)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
