Pushing a new branch in GIT
<p>I am using GIT, and I have created a new branch (named <code>foo</code>) on my local (one that doesn't exist on the repository). Now, I have made some changes to my original project (master) files and committed all those changes in this new branch. What I would now like to do is push this new branch to the remote repository. How can I do that? If I just run <code>git push</code> while I am on the branch <code>foo</code>, will this push the entire branch to the repo. I don't want my changes to be pushed to master. I just want to push this new branch to the main repository. </p>