git clone <repo>
git checkout <your name -feature>
git fetch
git checkout master
git pull ;update your master
git checkout <feature-branch> ;prepare for merge
git merge master ;conflicts can happen now
git push origin <branch>
create a pull request on github on the pull request youcan merge into master on github
git fetch
git checkout master
git pull
git checkout -b <branch name>