You need to update your local master branch. Do the following steps:
git checkout mastergit pull origin mastergit checkout << your branch >>git merge master
After you execute the 4th command, you will get merge conflicts. Resolve them and then do:
git commit