msysgit needs this on the initial clone, so it has to be on master. It doesn't seem to "apply" the gitattributes if you checkout a different branch later that has that setting; didn't investigate why