fatal: 'master' does not appear to be a git repository fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists. code example

Example 1: fatal: 'origin' does not appear to be a git repository

git remote add origin URL_TO_YOUR_REPO

Example 2: ERROR: Repository not found. fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists.

This could happen if you have a reposotory that you deleted in your 
gitserver/provider so change the origin to a one that exists and the push

Example 3: fatal: 'origin' does not appear to be a git repository

fatal: 'origin' does not appear to be a git repository
fatal: The remote end hung up unexpectedly