git unstage folder code example
Example 1: git unstage file for commit
git reset myfilename.txt
Example 2: how to unstage a commit
git reset HEAD~
Example 3: unstage staged files git
git reset HEAD file_path
Example 4: unstage particular file git
git reset HEAD <file>