how to unstage the staged files in git code example Example: unstage staged files git git reset HEAD file_path