I am trying to sync a local repository with the master repository on the git hub website. I am not sure what the issue is. I will include the commands and errors I am getting in the local shell.
git push
fatal: No configured push destination. Either specify the URL from the command-line or configure a remote repository using
git remote add <name> <url>
and then push using the remote name
git push <name>
git push -u https://github.com/winteralfs/thr3d_scripts.git master
! [rejected] master -> master (fetch first) error: failed to push some refs to 'https://github.com/winteralfs/thr3d_scripts.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
git pull
There is no tracking information for the current branch. Please specify which branch you want to merge with. See git-pull(1) for details.
git pull <remote> <branch>
If you wish to set tracking information for this branch you can do so with:
git branch --set-upstream-to=<remote>/<branch> master
--
How can I resolve this? Thank you.