how to remove all git added files code example Example: how to unadd gitr file git reset HEAD myfile.txt