Fixed bug with git reset