Branches

Branches come in the following forms:

Example: Creating a feature branch

# have feature branches be off of "staging" 
git checkout staging

# make sure you branch off of the latest version
git pull origin staging

# make your feature branch
git checkout -b feature/kchen/about-fragment

# do some work and commit it
git commit -am "did some work"

# the first time you push, set the branch to be upstream...
git push -u origin feature/kchen/about-fragment

# when upstream is set, for all subsequent pushes
# you can merely say...
git push