Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8064959
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T11:31:03+00:00 2026-06-05T11:31:03+00:00

I created a directory, hello_git . In this directory I created a file, hello_git.py

  • 0

I created a directory, hello_git. In this directory I created a file, hello_git.py, which prints out a “Hello git!” message.

Then I made hello_git my current directory in the terminal and entered the following commands one after another in that directory:

git init
git add hello_git.py
git commit -m 'first commit'
git remote add origin git@github.com:githubaccountname/hello_git.git

When I enter the command git push origin master I get asked:

Enter passphrase for key '/home/myusername/.ssh/id_rsa':

When I enter my passphrase (which authenticates successfully using ssh -T git@github.com) I get this:

ERROR: Repository not found.
fatal: The remote end hung up unexpectedly

I don’t know if this helps, but:

git remote -v

returns:

origin    git@github.com:githubaccountname/hello_git.git (fetch)
origin    git@github.com:githubaccountname/hello_git.git (push)

I have looked into answers of similar posts, but nothing seems to work:

  • Fatal: The remote end hung up unexpectedly while pushing to Git repository

  • GitHub ERROR: Repository not found. fatal: The remote end hung up unexpectedly

  • How do I resolve this issue of preventing push to origin wrt. GitHub?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T11:31:06+00:00Added an answer on June 5, 2026 at 11:31 am

    The error message says it all

    ERROR: Repository not found.

    Is there a Git repository where you’re looking?

    You need to create the repository on GitHub first. It can’t find the repository because it doesn’t exist yet!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I created a file called Hello.java that looks like this: public class Hello {
I have created a directory structure with an executable file. Following is the output
I've cloned a (remote) repo into Eclipse(EGit), which created a working directory for the
I created a script that list the directories in the current directory <?php $dir
I have created a python web app with this directory structure: # cd /usr/local/www/myapp
I'm trying out the example Hello World from this link here: http://www.mulesoft.org/documentation/display/MULE2INTRO/Quick+Start I have
So I have a main.py file inside /home/richard/projects/hello-python directory: import sys sys.path.append('/home/richard/projects/hello-python') from Encode
How should i do to create yyyy/mm/dd directory easy? mysite.com/blog**/2009/01/01/**hello-world.aspx!
When creating a new ASP.NET MVC 3 project, there is no pre-created directory for
I've created the directory •◘▬¨ŤlCęół♥☺☻0 and I would like to make it visible with

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.