I am trying to push my code into my private github repository using my terminal but it is not working.
I tried using the git push command for trying to add files into the repository.
git remote add origin <url for the github repo>
Then I used the following code to push it into the repository
git push -u origin master
To https://github.com/arunkumarindosyd1994/git-test.git
! [rejected] master -> master (fetch first)
error: failed to push some refs to 'https://github.com/arunkumarindosyd1994/git-test.git'
hint: Updates were rejected because the remote contains work that you do
hint: not have locally. This is usually caused by another repository pushing
hint: to the same ref. You may want to first integrate the remote changes
hint: (e.g., 'git pull ...') before pushing again.
hint: See the 'Note about fast-forwards' in 'git push --help' for details.
How do I get help in this scenario?