Skip to content

Git Bash git push origin main remote: Repository not found. fatal: repositor not found

Change repository visibility Make public

git push origin main
remote: Permission to repository.git denied to test.
fatal: unable to access ‘https://github.com/repository.git’: The requested URL returned error: 403

Change repository visibility Make private

git push origin main
remote: Repository not found.
fatal: repository ‘https://github.com/repository.git/’ not found