I just installed git on my computer following all the informations on their website but I'm kind of stuck. After commiting my files, I run git push and I get:
fatal: The current branch master has no upstream branch. To push the current branch and set the remote as upstream.
So I run git push --set-upstream origin master, then I get: push message.
After that I figured I should do a pull first and push after, but I get another message: pull message.
I followed all the steps and finally got to a message saying:
branch 'master' set up to track remote branch 'master' from 'origin'.
After this last one I tried another pull and got:
fatal: refusing to merge unrelated histories.
I don't think I need to say that I'm new to git, it's probably obvious haha, can someone help please ?