Reset command

Implements the git reset command.