Your branch is ahead of ...

$ git status
On branch master
Your branch is ahead of 'origin/master' by 45 commits.
  (use "git push" to publish your local commits)

的な事態になって、リモートのリボジトリと状態を揃えたいんじゃー!って時は

$ git reset --hard origin/master
Last updated on December 9, 2015