git shows many changed lines

When working with a devcontainer, or when moving between linux and windows, git shows whole files as changed when they actually are not.

Edited by Marc Weber