Removing all the added item from git code example Example: how to unadd gitr file git reset HEAD myfile.txt