git reset changes where the current branch pointer points:
--soft: Moves HEAD; keeps staged changes in the index.--mixed(default): Moves HEAD; un-stages changes into working directory.--hard: Discards all commits and uncommitted file modifications.