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 7926339
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T18:44:29+00:00 2026-06-03T18:44:29+00:00

Git fetch and pull both stopped working yesterday on the server (AWS instance). $

  • 0

Git fetch and pull both stopped working yesterday on the server (AWS instance).

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

There are two repository clones on that instance, both giving the same error. git still works well from local PCs.

git remote -v gives the same results on local PC and on the server; ssh git@github.com works as it should (“Hi (name)! You’ve successfully authenticated, but GitHub does not provide shell access.”)

There’s one difference in behaviour: git pull origin st+[Tab] used to expand to a branch name; now it expands to a name of the file in current directory (filename is not the same as branch name).

UPDATE: I tried re-creating remote: SSH version still fails, but HTTP worked.

According to this discussion in git mailing list, this is actually a problem on GitHub site.

UPDATE

output with GIT_TRACE=1

############# Local results #############

$ GIT_TRACE=1 git fetch
setup: git_dir: .git
setup: worktree: c:/Projects/(local_path)
setup: cwd: c:/Projects/(local_path)
setup: prefix: (null)
trace: built-in: git 'fetch'
trace: run_command: 'ssh' 'git@github.com' 'git-upload-pack '\''(username)/(reponame).git'\'''
Enter passphrase for key '(keyname)':
trace: run_command: 'rev-list' '--quiet' '--objects' '--stdin' '--not' '--all'


############# AWS results #############

$ GIT_TRACE=1 git fetch
trace: built-in: git 'fetch'
trace: run_command: 'ssh' 'git@github.com' 'git-upload-pack '\''(username)/(reponame).git'\'''
ERROR: Repository not found.
fatal: The remote end hung up unexpectedly
  • 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-03T18:44:31+00:00Added an answer on June 3, 2026 at 6:44 pm

    Problem solved.

    Turns out that was a miscommunication on our side: the guy who setup the keys on that box left, and his access to GH repo has been revoked.

    GitHub returns “repo not found” rather than “you have no access rights for this repository” – their support said they didn’t want to leak the existence of a repo unless you have access rights to it.

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

Sidebar

Related Questions

I'm getting the following error when attempting to push/pull from my git repository which
I have a bare git-svn repository and did a 'git svn fetch' on it.
Another question says that git pull is like a git fetch + git merge
To update my multiple repos, I did: git bulk fetch origin git bulk pull
I have a remote git server that has been working great for months. Earlier
Can I set hooks for pull/pushing from/to a git-svn managed repository? The situation is
I have a git repo on my server that I can push/pull through SSH
What are the differences between git pull and git fetch ?
I am using a bare git repository on a server for backup, and push
When I try and pull: error: cannot open .git/FETCH_HEAD: Permission denied When I try

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.