Some other student in your class pushed some revisions since your last checkout / pull.
As hd1 pointed out, your best bet is to either git pull
, which will likely create a merge commit, after which you might have to explicitly git commit
the merge. I prefer git pull --rebase
to linearaize the changes before running git push
Run a git log --graph
from the command line to get a good visualization of the current state of your local repository.
Do a git fetch
to pull down the remote branch without trying to merge or rebase your current changes. This will allow you to inspect the state of the remote repository with git log --graph origin/master