Git#
If you want to make your branch exactly like the remote branch do
$ git fetch origin
$ git reset --hard origin/master
NOTE: Make sure master is what you want. You may want another branch, and if not, make sure you're in master at the time.
SCM :
Git :
Frequent