every time I have to push my branch to remote on GitHub I have to run the following command,
git push --set-upstream sensorAtHome WIP however at office I just go ahead and push to our company cgit server.
so what is different and what do I need to do, locally for my GitHub project I have a already done this:
git remote add <name> <url> I thought that was enough .
secondly what <name> refers to name of branch or name of repository?
<name>is the name of the remote. It's the name you're gonna use to refer to that<url>.sensorAtHomeis a remote name. As for the rest of your problem,git push --set-upstreamshould do it. Could you show the full text of what happens when you run that command? Also the content of.git/configin that repository.