how to unstage all staged file code example Example: unstage staged files git git reset HEAD file_path