IntelliJ share code formatting settings in git repository
<p>I do not want to commit the IntelliJ project file/folder to my git repository but I <em>do</em> want to share the formatting settings.</p>

<p>Ideally in a way such that IDEA automatically picks them up when opening the project after freshly checking it out so that me and my fellow colleagues can have a good time coding without worrying about the code style.</p>

<p>We're talking about a Scala project.</p>