I am getting this error whenever I try to push my project to github:
error: failed to push some refs to 'https://github.com/projectlink.git' hint: Updates were rejected because the remote contains work that you do not have locally. This is usually caused by another repository pushing to the same ref. You may want to first integrate the remote changes (e.g., 'git pull ...') before pushing again. See the 'Note about fast-forwards' in 'git push --help' for details.
I also tried to pull it and then push the code but I still get the same error. Please help!