fatal upstream is not a repository code example
Example: fatal: 'upstream' does not appear to be a git repository
You need to a remote repository
git remote add upstream GIT_REPO
You need to a remote repository
git remote add upstream GIT_REPO