git remove all files from head code example Example 1: git remove added file to commint git reset file-name Example 2: how to remove stuff from git git rm -r File-Name