git sync local branch with local master code example
Example 1: git sync branch with master
git checkout master
git pull
git checkout mybranch
git merge master
# to keep mybranch in sync with master
# then when you're ready to put mobiledevicesupport into master, first merge in master like above, then ...
git checkout master
git merge mybranch
git push origin master
Example 2: git sync local branch with remote
git fetch --prune origin
git reset --hard origin/master
git clean -f -d