how to unstage files in git bash code example Example: git unstage file for commit git reset myfilename.txt