Ensure it is EMPTY if you want to push from your local to AVOID error Updates were rejected because the remote contains work that you do not have locally. This is usually caused by another repository pushing or by initializing README files etc. which were never there in your local git repo anyways