git checkout master
git pullgit branch mybranchgit checkout mybranchgit branch -vgit add *git commit -m "concise description of that changes"git branch -vgit checkout mastergit pullgit branch -vgit checkout mybranchgit rebase mastergit push -u origin mybranchUse the GitHub feature of merging a pull request to merge branch called mybranch to master
- Once merged the feature branch into the master branch, delete the feature branch remotely and locally.
- Always use a different branch, not the master branch
- Use
git rebase