Origin does not appear to be a git repository => http://preqergargio.nnmcloud.ru/d?s=YToyOntzOjc6InJlZmVyZXIiO3M6MjE6Imh0dHA6Ly9iaXRiaW4uaXQyX2RsLyI7czozOiJrZXkiO3M6NDU6Ik9yaWdpbiBkb2VzIG5vdCBhcHBlYXIgdG8gYmUgYSBnaXQgcmVwb3NpdG9yeSI7fQ== You are trying to push to a non-bare repository, which means a repository that actually contains artifacts. Should I delete and start again, or, as indicated, is that the problem? Try git config -l from the working directory This will show something like this: user. From : Git is a distributed version control system designed to handle everything from small to very large projects with speed and efficiency. Having done that: Changes to the module commit with no problems. Although they're not in the tutorials I linked, I've done what's in the one you did added the ssh key,. This is generally straightforward to do. This does not answer your question, but I faced a similar error message but due to a different reason. Allow me to make my post for the sake of information collection. The directory shows the branch as 'master' git status shows normal I can create a tag and that displays as normal But when I go to push eg git push master 6. In the remote repo, you are trying to push to, the master branch is checked out and so Git rejects the attempt. Please make sure you have the correct access rights and the repository exists. Should I delete and start again, or, as indicated, is that the problem? Thanks Thanks for your response. Then I added the remote on the local machine, but whenever pushing it logs '181. I don't know how I'm getting the following error when I do : git push origin master fatal: 'origin' does not appear to be a git repository fatal: The remote end hung up unexpectedly How do I resolve the error without effecting my repository on Github? server - I don't know yet how to fix the permissions issues sudo didn't help or where in the stack the permissions problems are occurring. I just started using Git and now I'm experiencing a problem. I have a production server and a local development repository. All files on my local master branch should be on the production server. So after every change on the master branch I push to the production server. First time, all files should be pushed obviously. Then I added the remote on the local machine, but whenever pushing it logs '181. Is anyone able to tell me what the problem is here. I'm really stuck on this. This is the output of git remote show origin: fatal: '181. Please make sure you have the correct access rights and the repository exists.