checkout remote git fetch git checkout test glv git reset -hard HEAD git clean -xffd git pull Or you can use the commands below: git reset -hard # removes staged and working directory changes ## !! be very careful with these !! ## you may end up deleting what you don't want to ## [...]