how to remove the added file from git code example
Example 1: git remove added file to commint
git reset file-name
Example 2: how to unadd gitr file
git reset HEAD myfile.txt
Example 3: git file reset to head
git checkout HEAD -- my-file.txt
git reset file-name
git reset HEAD myfile.txt
git checkout HEAD -- my-file.txt