Esoteric feature of Git: If a file is the same between two branches and you modify that file but don’t commit it - Git will allow you to switch to the other branch and warns you the file is modified by outputting ‘M’ and the filename. E.g.M config.swift
(Git v2.17)