git push from another computer to the same file/ref/project

I clone my project on another computer now i want to push it tells me to add a remote so i did. Again i try to push now I got this (see images)

I try to push like this: git push --set-upstream pp6 main Which method is the best git hard push, fork etc ...

$  git push --set-upstream pp6 main
To https://github.com/ogras-yasin/p6
 ! [rejected]        main -> main (fetch first)
error: failed to push some refs to 'https://github.com/ogras-yasin/p6'
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 many English words
do you know?
Test your English vocabulary size, and measure
how many words do you know
Online Test
Powered by Examplum