This feels like im missing something obvious, but i've been reading tutorials for 3 days and can't seem to make it happen.
I have a private repo on github. I want to run it as two separate branches. As I understand it, I clone the repo so its on my local machine, then branch it using
git branch newbranch
git checkout newbranch
so far so good. Now i make some changes, commit to newbranch. It seems like I can push this all to my remote repo intact, but I'm having trouble doing it without simply merging it with master, which is not what I want to do. How can I put my branches on github intact?
Is this the correct workflow for doing this? If it is, what am I doing wrong?