how to remove some files from git add code example Example: how to unadd gitr file git reset HEAD myfile.txt