I had accidentally pushed the wrong folder in a wrong repo, and in vain to delete the wrong folder, I deleted the whole repo (via GitHub).
Now every time I try to push new files on my new repo (via Terminal), I get this message:
fatal: repository 'https://github.com/myusername/myfolder.git/' not found
Can you please help me to resolve this issue, please?
Solved! Solved! Go to Solution.
Thank you for being here! Yes, you can restore those repositories yourself by following the directions at:
It can take up to an hour for a deleted repository to be available for restoration.
Mark helpful posts with Accept as Solution to help other users locate important info. Don't forget to give Kudos for great content!