بسم الله

Bismillah

Expected to be able to replace the git remote directory via linux terminal independently.

Problem

fatal: '/home/masari/Dropbox/git/appipos.git/' 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.

Suggested solution

Open Terminal

Change the shell working directory

cd ~/Dropbox/git/[project]

Change remote git directory

git remote set-url origin ~/Dropbox/git/myproject.git/

Try to push your git project

git push

The result must be

Everything up-to-date

Until this step the problem should have been solved!

الحمد لله

Linked Refrences: