I've been asked to work with a Github repository and the only Git related procedure I've ever done is cloning an existing repository. I've worked with SVN alot but I'm a bit of a noob when it comes to Git branches and working trees. The docs are a little abstract and don't really outline what best practices are regarding creating new branches and committing changes.
I'd like to clone the existing repo to a new branch that is available to all that have access to the master branch (SSH), then work locally off the newly created branch and commit changes to that branch only. From online docs and guides, the general consensus seems to be:
- Clone repo which creates a remote named origin
- Create a new local branch off master
- Commit changes to local branch
My question is how will the local branch be available on Github to others with access to the repo? What's the general procedure for cloning a repo and creating a new branch available remotely? Any suggestions at all would be much appreciated.