how to roll back staged git files code example Example: unstage staged files git git reset HEAD file_path