// if using develop, use that instead of master
git checkout master
git branch feature-task1
git checkout feature-task1
// make some changes
git add .
git commit -m "Changes..."
// when you're done with the feature
git push -u origin feature-task1
// pull any changes from master
git pull origin master
// merge master into your feature-task1 branch
git merge --no-ff master
// resolve conflicts, if any
// this may require git add & git commit
// switch back to master and merge changes
git checkout master
git merge --no-ff feature-task1
git push -u origin master
// delete old branches
// ONLY after they have been merged
git branch -d feature-task1
// list branch you are on
git branch
// list all branches
git branch -a
// 'soft' pull
git fetch
// show status
git status