Starting on the master branch:
git checkout -b store
(creates new branch called store and switches to it)
Do some work . . .
git add .
(stages work for commit, can be more specific than . --- could git add browser
and this will add everything in your browser)
git commit -m
‘added store model!’ (commits work with message)
If mucho time has passed since you branched from master, then, BEFORE pushing . . .
git checkout master
(switch back to master branch)
git pull origin master
(pull any work that has been placed on remote master [github])
git checkout store
(switch back to working branch)
git merge master
(adds work from master to your store branch)
Ready to push . . .
git push origin store
(pushes store branch to github as “store” branch)
Create pull request!