remove git files from staging code example Example: remove frmo staging git git reset HEAD -- filename