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