Having problems with configuration changes and how to ignore CHMOD changes by configuration manager

Having problems with importing and exporting configurations on drupal 8 and (probably language) config files appearing out of nowhere, this might be due to git and permission problem. To solve that just do this

git config core.fileMode false

or even globally

git config --global core.fileMode false

more on that here


Nature of this is changing of files permissions that somehow get caught by configuration manager and then you have "changes in files" but nothing really changes.