Git command for manipulating the index. More information: https://git-scm.com/docs/git-update-index.
git status
git update-index --skip-worktree path/to/modified_file