Before submitting anything to the master do the following
then do a git pull
then push
For removing deleted files from repository
http://stackoverflow.com/questions/492558/removing-multiple-files-from-a-git-repo-that-have-already-been-deleted-from-disk
For updating local copy use
There was an error while loading. Please reload this page.