By mistake i pushed .env file to github and then i wanted to hide .env file from my private github repo using .gitignore. For this purpose, i did many stupid things and now it's saying repository not found. Please help me fix this! Now when i do git push, it shows -
fatal: The current branch master has no upstream branch.`enter code here`
To push the current branch and set the remote as upstream, use
git push --set-upstream origin master
And if i do git push --set-upstream origin master, it gives me this error -
ERROR: Repository not found.
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.